Apparently putting 2 Pallete type images together that have more than 256 colours in total fails:
Code: Select all
convert rose: -type Palette rose.png
convert rose: -negate -type Palette neg-rose.png
convert rose.png neg-rose.png rose-and-neg.mng
identify rose-and-neg.mng
rose-and-neg.mng MNG 70x46 70x46+0+0 8-bit DirectClass 0.000u 0:00.000
identify.exe: Invalid colormap index `rose-and-neg.mng' @ error/image.c/SyncImage/4447.
Code: Select all
convert rose: -colors 100 -type Palette rose.png
convert rose: -colors 100 -negate -type Palette neg-rose.png
convert rose.png neg-rose.png rose-and-neg.mng
identify rose-and-neg.mng
rose-and-neg.mng MNG 70x46 70x46+0+0 8-bit DirectClass 0.000u 0:00.000
Code: Select all
convert rose: -colors 100 -type Palette rose.png
convert rose: -colors 100 -negate -type Palette neg-rose.png
convert -delay 1 rose.png neg-rose.png rose-and-neg.mng
identify rose-and-neg.mng
rose-and-neg.mng MNG 70x46 70x46+0+0 8-bit DirectClass 0.000u 0:00.001
identify.exe: image->next for first image is NULL but shouldn't be. `rose-and-neg.mng' @ error/png.c/ReadMNGImage/6807.
Code: Select all
convert rose: really-true-rose.png
identify -verbose really-true-rose.png | grep Type
Type: TrueColor
convert rose: -type Palette rose-palette.png
identify -verbose rose-palette.png | grep Type
Type: Palette
convert rose-palette.png -type TrueColor rose-true.png
identify -verbose rose-true.png | grep Type
Type: Palette
Code: Select all
identify -version
Version: ImageMagick 6.7.7-4 2012-05-29 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP