Hi,
According to upstream
>The default behavior of ImageMagick is to increase the image depth if any
>pixels are modified. This makes sense to us because an 8-bit image when
>resized, for >example, goes from 8-bits to 16-bits (assuming IM Q16) because
>of the blended colors. To force 8-bit output, simply add -depth 8 to the
>command line:
> convert 8-bit.jpg 8-bit.png // output is 8-bit because no pixels were
> modified
> convert 8-bit.jpg -resize 50% 16-bit.png // output is 16-bit because IM
> is Q16 and the resize introduced blended colors
> convert 8-bit.jpg -resize 50% -depth 8 8-bit.png // output is 8-bit
> because we asked for 8-bit with -depth
Therefore thay will not fix this due to blended color remark.
However, they agree that a new option (-depth origina) is a solution
>The user is encouraged to post an enhancement request to maintain the color
>depth of the original image, however, that would require a new option so that
>existing >scripts do not break (e.g. convert image.png -depth original
>image.tif)
Therefore feel free to send a patch :)
Regards
--
"ROUCARIÈS Bastien"
[email protected]
-------------------------------------------------------------------------------
DO NOT WRITE TO [email protected] OR BE BLACKLISTED
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]