On Sep 14, 2006, at 10:13 PM, Anthony Thyssen wrote:

Timothy Hunter on  wrote...
| > Perhaps you can place some examples online, original, what you want,
| > what you get, how you generate the displacement map.
| >
|
| After rather more messing about with my ISP than should be necessary
| (and scrounging a picture of a right triangle from the web), I've
| managed to upload a web page with the images, Ruby program, and some
| explanation. Check out http://home.nc.rr.com/foxhunter/ polaroid.html.
|
| The short version of my question is: is there a better, simpler way
| of producing the result of the displace operation?

YES!!!

As all you are doing is a slight bend in the picture. then
you can just use -wave.

However -wave only works in the displacement in the Y direction.
And in your case can add lots of extra space.

To fix, rotate your picture 90 degrees (no loss of quality)
run it through wave (some quality loss, to be expected)
crop the unwanted space, and rotate back (or visa-versa).

Thanks, Anthony. I thought about wave but I was afraid that the two rotations would cause me to end up with a bad-looking image. I'm glad to hear that it won't.

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to