ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageMagick plugin and save settings

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
More-Majorum Posted - May 20 2023 : 06:30:41
Hello everyone,
Is there a help page that details save settings (compression, etc.), for formats supported by ImageMagick?


For example, I don't have a problem with the JPEG format, because everything is detailed on the TIOParams help page, so I know that for the JPEG format, there are the following parameters:
JPEG_ColorSpace
JPEG_DCTMethod
JPEG_CromaSubsampling
JPEG_EnableAdjustOrientation
JPEG_GetExifThumbnail
JPEG_MarkerList
JPEG_OptimalHuffman
JPEG_Progressive
JPEG_Quality
JPEG_Scale_Used
JPEG_Scale
JPEG_Smooth
JPEG_WarningCode
JPEG_WarningTot

Unfortunately, I couldn't find an equivalent help page for the formats supported by the ImageMagick plugin. So I'm completely lost...

Cordially.
2   L A T E S T    R E P L I E S    (Newest First)
More-Majorum Posted - May 20 2023 : 22:30:28
Thanks for your help.
Cordially.
xequte Posted - May 20 2023 : 20:47:28
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