Think about an image with quadratic dimensions and a center point. Imagine around this center point there is a area in the shape of a "japanese fan" (see this link for some images: http://www.google.de/search?num=10&hl=d ... tQacq7HoBg ).
The distortions I want make to the pixel area are just analog to the movement a japanese fan makes when widened or narrowed a bit. I want to do expansions or reductions of the "span of the fan" by about 10% each.
I want to do it on the commandline. My IM version is '6.7.8-0 2012-07-12 Q16' (installed on a Mac OS X Lion via 'MacPorts'), . It looks like the available distortions for
Code: Select all
'-distort arc'
'-distort polar'
would well suit for such things. But I couldn't, after a full weekend of trying, not figure out the parameters to use so that I get some sort of arc-ish expansion or compression around the center of the image. I guess it is of no use to list all the command variations I've tried. OK, so that you do believe me I tried it, I'll give you one command:
Code: Select all
convert 100pc.pdf +distort arc "60 0 288 0" -repage +288+288 out.png
I was, however, successful in "bending" an originally rectangual image into a circular shape (and back to the original shape), similar to this (as demonstrated by Anthony Thyssen in the 'Usage' pages):

But I was not able to apply my wanted, very similarly looking distortion against my pictures. So... I'll not list the many dozen of my failing command variations.
Instead I've created a GIF animation to better explain the things I want to achieve. (This is *not* the result of an animation -- instead I've handwritten some PostScript code to create the '100%', '90%' (10% 'fan compression' and '110%' (10% 'fan expansion') images and used those for image-magicking the GIF:
https://www.dropbox.com/sh/5wmtshihvgvi ... wanted.gif

And here is one of the source files I used to create that GIF (actually it's a model for the ones I want to expand and compress by 10% 'like a japanese fan'):
https://www.dropbox.com/s/8ol5d25ezkpm5tz/100pc.pdf
Is such a type of distortion at all possible? What am I doing wrong? Any suggestions how to tackle this task?