[magick-users] Unable to change depth

Rohan.Kurian Rohan.Kurian at target.com
Wed Aug 6 04:03:01 PDT 2008


I have to meet a requirement where I should be able to change the image depth.

I am using ImageMagick-6.4.2-Q16 on Windows

I have tried to convert 8-bit images to 16-bit/4-bit images but haven't succeeded.

identify Room_King.jpg
>Room_King.jpg JPEG 644x446 644x446+0+0 8-bit DirectClass 38.4kb

convert Room_King.jpg -depth 16 16Room_King.jpg

identify  16Room_King.jpg
> 16Room_King.jpg JPEG 644x446 644x446+0+0 8-bit DirectClass 39.5kb


What am I doing wrong? Can I not convert from 8-bit jpeg to 16-bit jpeg? Am I using the command in an erroneous fashion?
Any input would be appreciated.

Thanks,
Rohan


More information about the Magick-users mailing list