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?".
I am resizing png's, trying to get a negligible quality loss and preserve the filesize. The images have 67 colours, including black and white and a 64 element colormap with a linear colour distribuition in RGB space from red to blue (jet). The images are contour maps and as such have very smooth transitions in colour over most of the image.
I get an unacceptable amount of dithering. My first question is how to a fix the dithering. My second question is how do I force the resized pngs to use the exact same colourmap as the original?
Never mind. I got it. When reducing use -filter box the smooth the image, but also increase number of colours i.e.-colours 128 to prevent blocky colour truncation.
Found the answer in the excellent usage guide here.