converting 8 bit palette tga with scaling, ignoring magenta

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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: converting 8 bit palette tga with scaling, ignoring magenta

Post by anthony »

Either replace the magenta BEFORE resizing, or use -sample

The -sample will not merge colors into new colors, but in heavy or very light resizing can have some strong aliasing effects.

See IM examples Resize Sampling, as well as Resize Artifacts, Aliasing
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply