Page 1 of 1

Getting center of SRT distorted Image

Posted: 2018-04-12T09:18:04-07:00
by adk
Hello,

I am running a command like this below:

convert -distort SRT %[fx:(15+t)/100],0

I'm using it in a larger script to create a gif that gradually enlarges each frame. What I would like is to just get part of the center of the image. I'm including two links to the original image, and what it looks like after a single run of the above distortion command.

Original:

https://ibb.co/iZg7p7

After distortion:

https://ibb.co/mCBq97

I just want that center part where it looks identical to the original image.

Any help is appreciated, thanks!

Re: Getting center of SRT distorted Image

Posted: 2018-04-12T09:42:11-07:00
by GeeMack
adk wrote: 2018-04-12T09:18:04-07:00I just want that center part where it looks identical to the original image.
Try using "-virtual-pixel none" before the "-distort" operation.

Re: Getting center of SRT distorted Image

Posted: 2018-04-12T10:52:09-07:00
by adk
Thanks! That worked :)