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
converting 8 bit palette tga with scaling, ignoring magenta
- 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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/