Enhancement Request: -roll in percent

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
fmw42
Posts: 22101
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Enhancement Request: -roll in percent

Post by fmw42 » 2017-07-13T10:27:37-07:00

Recently I tried to use -roll using % values and they did not work. It seems that -roll only shifts by pixels. Would it be possible to enhance this so that -roll recognized +X%+Y% in addition to the pixel shifts using +X+Y?. This is not urgent, since I can do a separate computation to convert percent to pixels. But it seems that -roll also should follow the geometry standards that in general allow % for example for resizing and cropping.

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Re: Enhancement Request: -roll in percent

Post by magick » 2017-07-14T03:52:55-07:00

We'll add support for percent offset to the beta release of ImageMagick by sometime tomorrow.

User avatar
fmw42
Posts: 22101
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Enhancement Request: -roll in percent

Post by fmw42 » 2017-07-14T15:24:27-07:00

This seems to work fine now for specifying % arguments to -roll in IM 6.0.7.1 beta. Thanks.

User avatar
fmw42
Posts: 22101
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Enhancement Request: -roll in percent

Post by fmw42 » 2017-08-10T17:16:56-07:00

fmw42 wrote:
2017-07-14T15:24:27-07:00
This seems to work fine now for specifying % arguments to -roll in IM 7.0.6.1 beta. Thanks.

Post Reply