Convert image into all known/available formats/extensions

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
hewittmatthew
Posts: 1
Joined: 2019-09-13T06:28:12-07:00
Authentication code: 1152

Convert image into all known/available formats/extensions

Post by hewittmatthew »

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.
snibgo
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

Post by snibgo »

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.
snibgo's IM pages: im.snibgo.com
Post Reply