I'm looking to produce a set of sample images to use with an image library our software implements.
I know I can convert using explicit commands, but wondered if anyone had written a scripted solution that would iterate through all available output/conversion formats?
Longer term i'd probably want to vary some common options, such as colour space, compression levels etc, and name the files output accordingly.
Convert image into all known/available formats/extensions
-
- Posts: 1
- Joined: 2019-09-13T06:28:12-07:00
- Authentication code: 1152
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert image into all known/available formats/extensions
What version of IM on what platform?
I often loop through colorspaces, to compare results of an algorithm using different colorspaces. This is easy as "magick -list colorspace" has a simple output format. "magick -list format" has a slightly messy format, and you want just those formats that IM can write.
I often loop through colorspaces, to compare results of an algorithm using different colorspaces. This is easy as "magick -list colorspace" has a simple output format. "magick -list format" has a slightly messy format, and you want just those formats that IM can write.
snibgo's IM pages: im.snibgo.com