Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change an image depth of bitmap for testing purposes. Right now I am trying to get a 2 bit palette image, and a 4444 Hicolor image.

I have a true color bitmap. I used the below command line

convert -depth 2 /media/bitmap/rule.bmp lut2bpp.bmp

then when I used identify I got this

Image: lut2bpp.bmp
Format: BMP (Microsoft Windows bitmap image)
Class: PseudoClass
Geometry: 720x480
Type: Palette
Endianess: Undefined
Colorspace: RGB
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits

It changed it to a palette which is great, how do I get to change channel depth?

How about changing that true color 24 bit image to hi color 4444 image?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.