Haiku ImageMagick GUI - One click optimising

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
lelldorin
Posts: 8
Joined: 2017-06-11T13:56:45-07:00
Authentication code: 1151

Haiku ImageMagick GUI - One click optimising

Post by lelldorin »

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

Re: Haiku ImageMagick GUI - One click optimising

Post by snibgo »

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