enhancement request: add skip factor to frame selection

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: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

enhancement request: add skip factor to frame selection

Post by fmw42 »

There have been a few request recently to be able to use a skip factor when specifying frames to select. For example, viewtopic.php?f=1&t=26074.

Just wondering if that might be reasonably easy to add at some point in time.

Perhaps the syntax such as

image.gif[1--1:3]

or

image.gif[10-30:3]

would work to take all frames (or some selected range of frames) and use a skip factor of 3. The colon could be replaced by any other character that would work without confusion with other special characters being used already. The number after the colon would indicate the skip factor.

Not an urgent request on my part. But since we had a recent inquiry, I thought I would toss this out.
Post Reply