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?".
lelldorin
Posts: 8 Joined: 2017-06-11T13:56:45-07:00
Authentication code: 1151
Post
by lelldorin » 2017-11-18T14:12:36-07:00
Hello all,
a want to add a one click optimising function into my IM GUI.
I have collect some functions who should optimise an image:
Code: Select all
convert -strip -interlace Plane -auto-orient -normalize -compress None input-file output-file
Make this process sense? Can this one used for all image types or should i separate them info the image types?
Greetings Lelldorin
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-11-18T15:35:49-07:00
IM commands should be written as: read the image, process it, write the image. So your processing should occur after the input image.
"-normalize" clips the pixels, at both ends. I would never do this for standard image processing.