You should specify the -depth 5 and -compress none after you read the input image but that does not explain the problem
Ahh, that's the problem - with the depth parameter before the source (albeit user error) I get no problem in 6.9
Code: Select all
utilities/convert -depth 5 ~/Dropbox/Forum/original.png ~/Dropbox/Forum/converted.tga
in 7 as per latest svn state I get a bad image (as per windows preview/gimp)
Code: Select all
utilities/magick -depth 5 ~/Dropbox/Forum/original.png ~/Dropbox/Forum/original-bad.tga
utilities/identify ~/Dropbox/Forum/original-bad.tga
/home/nils/Dropbox/Forum/original-bad.tga TGA 96x96 96x96+0+0 5-bit sRGB 36.9KB 0.000u 0:00.000
I'm building on Linux right now since I don't have Visual C++ setup - it seems though that the handling of this parameter before source is triggering some other behavior. Not a big deal but weird
I'm good now I think, thanks a lot for your attention.
Nils
p.s. when does 6.9.0-1 come out?

(I don't think there are windows binaries under
http://imagemagick.org/download/beta)