Jump to content

iReflector


Recommended Posts

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... :-)

Link to comment
  • Replies 85
  • Created
  • Last Reply

Top Posters In This Topic

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.

Link to comment
  • 1 month later...

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

Link to comment
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.

Link to comment
  • 3 weeks later...

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).

Link to comment

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

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...