Code: Select all
$ convert anim000.pam \( -intent Perceptual -depth 64 -colorspace Lab -resize 315x177\! \) -monitor -append -colors 131072 -colorspace sRGB -format "%r - %k - %z" info:
mogrify image[anim000.pam]: 17 of 18, 100% complete
append image sequence[anim000.pam]: 17 of 18, 100% complete
classify image colors[anim000.pam]: 3185 of 3186, 100% complete
reduce image colors[anim000.pam]: 84910 of 125108, 67% complete
Code: Select all
p$ convert anim000.pam -intent Perceptual +depth -colorspace Lab -resize 315x177\! -depth 8 -colorspace sRGB -monitor -append +dither -colors 131072 -identify -format "%r - %k - %z" info:
mogrify image[anim000.pam]: 17 of 18, 100% complete
append image sequence[anim000.pam]: 17 of 18, 100% complete
Transform/Image[anim000.pam]: 3185 of 3186, 100% complete
classify image colors[anim000.pam]: 3185 of 3186, 100% complete
reduce image colors[anim000.pam]: 42586 of 79110, 53% complete
My goal here is to: Convert to 64-bit Lab colorspace, resize the animation frames to a fixed 315x177, append all of the frames together (which would give me something on the order of 900K colors), reduce that footprint to around 131K colors, take that color map from the appended image and apply it to the actual frames. Then save to a MIFF file.