Page 1 of 1

+map improvement

Posted: 2009-04-01T08:58:23-07:00
by denizen
Will be the +map key improved to support global color maps of 128,64,32.. colors?

Thanks.

Re: +map improvement

Posted: 2009-04-19T22:27:14-07:00
by fmw42
I don't believe that +map is what you want. See +remap

http://www.imagemagick.org/script/comma ... .php#remap

Re: +map improvement

Posted: 2009-04-19T23:37:24-07:00
by denizen
I will appreciate if new IM do follow script in one command

convert speed.gif \
\( -clone 0--1 -background none +append \
-quantize transparent -colors 63 -unique-colors \
-write mpr:cmap +delete \) \
-map mpr:cmap speed_cmap.gif

I only want to make global color pallette with less than 256 colors.

Thanks.

Re: +map improvement

Posted: 2009-04-27T21:50:27-07:00
by anthony

Re: +map improvement

Posted: 2009-04-27T23:11:40-07:00
by denizen
"One way to generate this single color table is to simply "-append" all the frames together, then using the "-colors" command to reduce the number of colors to a minimal set (less than 256, or smaller if you want an even smaller color table). The resulting color table can then be applied to the original image using "-map"."

I appreciate if all this algorithm will be implemented for example

+map 64
or
+map 128

This means global color map for gif animation with 64 or 128 colors correspondingly.

Thanks