iReflector

SirSmiley, your app is great!

First I thought "Why in the h**l would I want to do reflect icons?", but later I watched the Mac OS X Leopard video, and started loving this app.

I converted almost all my Rocket Dock icons in a rush, but with some little exceptions:

Your program doesn't support .ico (but I had a converter at hand, so no problem)

Your program seems to have trouble with images where width not equals height, it does strange stuff putting a faded copy at left under image, instead of doing the mirror effect.

The image preview is right, but when I clic to save it, does this strange thing I mention above.

Using different algorithms for preview and saving?

Also, it would be nice, not to have to clic the middle image to get the preview with default middle image, but getting the preview using middle image inmediatly instead of getting the cuestion mark... or I am missing something... :-)

#479962

Thanks Matonga.

Not using any algorithms but, standard dimensional scaling.

Eg. The display image is 128x128 but, if you drop a 256px image the adjustments are made on a simple percent calculation. If the mirror is 30% in the display it will be 30% of the 256px. This is also the reason the mirrored image looks smaller as it only crops from one angle

You are right I didn't script in any handling for unequal sizes but, focused on standard Icon/dock icon dimensions. This is going to be added.

Icon handling wasn't put in because this was made primarily for dock icons and lot's of png to icon converters exist. No plans to add this.

Good point on the second question mark. It seems sort of redundant but, I put it in sort of as a safety in case someone accidentally dropped a png/file that they didn't want to use. Thinking of eliminating this.

#479978

Not a problem, but when you click to save it saves good. But when I click twice (accidently) or three times the icon gets smaller and smaller (just the above, not the mirrored).

#480057

Why is it that everytime I reflect an image and put it up on my RKlauncher dock, the image becomes really tiny?

#486655

Don't know if this is exactly the cause, but it may be because now the icon has a smaller version of the original plus a reflected version:

(warning: ascii grahipcs below)

original		   reflected
+-------+ . . . . . . +-----+
| | | |
| | | |
| | +=====+
+-------+ . . . . . . |||||||

#486656

Here's an image that might explain better why this happens. It's a bad example because for straight on Leopard folders this could easily be fixed but, the goal is to make iReflector work for most png's.

iReflector works on the png's outer dimensions not the inner dimensions. If you look at many png's there is a space (empty pixels) between the edge & the actual picture.

I'm aware of this and have a couple ideas for fixing or dealing with it. Had planned to do this in December but, time was tighter than I expected.

infooa1.jpg

By sirsmiley at 2008-01-07

#486667

Everytime I run ireflector.exe, it crashes. Anyone know whats going on? I'm on Vista btw.

Take a look..

post-74143-1199827554_thumb.jpg

Capture.JPG
Capture.JPG

#486869

What are the problem details? Vista Version? 32 or 64 bit? Does it load at all?

If it doesn't load at all then check to make sure UAC isn't blocking the com install/uninstall.

If it loads/runs and you have inconsistent crashes then clean out your temp directory.

#486883

What are the problem details? Vista Version? 32 or 64 bit? Does it load at all?

If it doesn't load at all then check to make sure UAC isn't blocking the com install/uninstall.

If it loads/runs and you have inconsistent crashes then clean out your temp directory.

32bit home premium. UAC is off. It hasn't ever loaded.

#486899

Click on "View problem details". What does it show?

#486926

Click on "View problem details". What does it show?

This is what it says...

post-74143-1199850763_thumb.jpg

post-39-1199850763_thumb.jpg

Capture.JPG
Capture.JPG
Cap3ture.JPG
Cap3ture.JPG

#486934

Ahh, okay that's a desktopX related error.

I'll have to look into it more but, the version I used to compile it is not officially Vista compatible.

My current dll is newer than that so, I'll recompile it and update on DA.

#486935

^Thanks Smiley. =) Thumbs up!

Update us when you do update it on DA

#486937

Let's see if this dll works. It's dated August 7/07 and the other one was from 2006.

Let me know if it doesn't and I'll pass it along to Stardock.

The new "old" version is up. http://sirsmiley.deviantart.com/art/iReflector-61284589

#486938

^Nope. I still get the same error message.

#486939

Very good... But where is the save image button?? lol.

I am seriously missing something!

James,

EDIT: Found out how to save it but the image is messed up! I have attached a reflected icon.

EDIT AGAIN:

Fixed it!

post-71792-1200238442.png

post-39-1200238442_thumb.png

TrashFull_mirror.png
TrashFull_mirror.png
reflect.PNG
reflect.PNG

#487607

That happens when you press save (the right field) more than one time.

#487609

LOL! also happened to me initially. just don't click save yet unless you hit the desired position in one motion (not letting go of the mouse button). it happens when you keep jerking around the shadow then clicking save...

#487610

:lol

Yeah, that's definitely a scripting issue. Admittedly I didn't put in many...ok any error controls! ;)

I'm working on learning jscript in order to make this forward compatible and potentially easier to port to AveDesk/Konfabulator if wanted.

#487643

Hi,Dear,SirSmiley,I've been using this simple but very helpful from the first released,but this update doesn't work at all,in the task manager ok,but nothing comes out,in that previous version I have no problem at all,please tell me why?,thank's

Sorry it's a new update right in your DA ?

#490001

No major updates. The only difference is that version installs the com object when you run it and uninstalls it when you close it.

Did this because most users were not avid computer users like here. The other version is here

http://www.box.net/shared/6aqm4emsj0

#490025

Specifically speaking, you're using the com object to scale and mirror the image? And the gradual transparency effect?

Because I could write a .dll to do that part so you don't depend on the ImageMagick object. I don't know if this is useful in any manner (it actually works fine "as is" in my computer).

#490028

Yes, you are right. It applies the transparency as a mask layer.

I know the complete object is overkill and I'm looking at either using Gflax from the developer of Xnview or CxImageATL a limited version of CxImage.

So, unless you have need for the dll in your own projects lot's of alternatives exist.

This VBScript example (of the overkill) takes an image and makes a Polaroid thumb with a random rotation. You probably have seen it online.

Dim iFile,oFile

iFle="C:PROGRA~2ProjectsDesktopXWIPPolaroidtest.jpg" ' input fiile

oFile="C:PROGRA~2ProjectsDesktopXWIPPolaroidtest_thumb.png" ' output file



On Error Resume Next

Set img = CreateObject("ImageMagickObject.MagickImage.1")



img.Convert iFle,"-thumbnail","120x120","-background","transparent","+polaroid","png32:"&oFile

#490034

This only creates the reflection, not the image + refelction

#490490

Check again. You have to click on the upper image in the third panel to output the completed image.

Both versions do it for me.

#490500