Hi
Most the ImageMagick defines are listed at:
- http://imagemagick.org/script/defines.php
- http://imagemagick.org/script/webp.php
You can pass any defines to ImageMagick by adding them as a dictionary, e.g.
// Save a PNG file as a lossless WebP with maximum compression
ImageEnView1.IO.SaveToFile('D:\Image.png');
ImageEnView1.IO.Params.Dict.Insert( 'ImageMagick', TIEDictionary.Create() );
ImageEnView1.IO.Params.Dict.GetDictionary('ImageMagick').Insert( 'webp:lossless', True );
ImageEnView1.IO.Params.Dict.GetDictionary('ImageMagick').Insert( 'webp:method', 6 );
ImageEnView1.IO.SaveToFile('D:\Image_out.webp');
Also see:
http://www.imageen.com/help/TIEMiscPluginsImageMagick.html
Nigel
Xequte Software
www.imageen.com