Zoom, offset, crop
Posted: 2015-04-30T22:35:45-07:00
Hi,
I found ImageMagick very helpful on manipulating with images. However, I'm trying to accomplish the following result for days now and it seams that I'm still not understanding what is going on!
What I want to achieve is:
Get an image (gif, jpg or png) of a give dimension, ex.: 377x250px, zoom it to 427x238px, than move X & Y pixels from left and top, and then crop it to exactly 180x180px without stretching it.
Here is the illustration of it
Any help from your will really be appreciated.
Thanks,
Bajram
I found ImageMagick very helpful on manipulating with images. However, I'm trying to accomplish the following result for days now and it seams that I'm still not understanding what is going on!
What I want to achieve is:
Get an image (gif, jpg or png) of a give dimension, ex.: 377x250px, zoom it to 427x238px, than move X & Y pixels from left and top, and then crop it to exactly 180x180px without stretching it.
Here is the illustration of it
Any help from your will really be appreciated.
Thanks,
Bajram