Help emulating "remap" on old version of ImageMagick

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
lubu
Posts: 2
Joined: 2015-06-11T14:50:54-07:00
Authentication code: 6789

Help emulating "remap" on old version of ImageMagick

Post by lubu »

I'm running version 6.2.8 which doesn't have the remap command, but I think that's exactly what I need. I have an image that I want to reduce to a specific set of 16 colors. Remap seems to be the easy solution by passing in a palette.png, but it's not an option on this version. (Please don't say "just upgrade" because it would require a lot of steps right now for this one task.)

Is there a way to do this without remap? Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Help emulating "remap" on old version of ImageMagick

Post by fmw42 »

It may be called "-map" on the older systems?
lubu
Posts: 2
Joined: 2015-06-11T14:50:54-07:00
Authentication code: 6789

Re: Help emulating "remap" on old version of ImageMagick

Post by lubu »

Well that was easy! Thanks.
Post Reply