imageFormats

Returns a structure of all supported image formats that can be read (decoder) and written (encoder).

imageFormats() → returns struct

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Examples
Sample code invoking the imageFormats function

Calls the function and dumps the structure of image formats it returns

writeDump(imageFormats());

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub