newbie question - converting to different color depth
Posted: 2007-07-05T17:55:13-07:00
I am trying to convert an image to a 16 bit color depth, and I can't seem to figure it out. The image that I'm starting with is a jpg.
convert -depth 6 image.jpg image.bmp
but every time, the bmp is TrueColor, and 24 bits. I want to make the bmp for a 16 bit LCD, but I can't seem to figure out the convert program. Anyone would could offer a tip, I'd greatly appreciate it.
Info from the identify:
jpg info:
Image: image.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 755x1200
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits
Channel statistics:
Red:
Min: 0 (0)
Max: 255 (1)
Mean: 221.573 (0.868915)
Standard deviation: 57.8563 (0.226887)
Green:
Min: 0 (0)
Max: 255 (1)
Mean: 220.679 (0.865407)
Standard deviation: 53.5961 (0.210181)
Blue:
Min: 0 (0)
Max: 255 (1)
Mean: 184.951 (0.725297)
Standard deviation: 93.7735 (0.367739)
bmp info:
Image: image.bmp
Format: BMP (Microsoft Windows bitmap image)
Class: DirectClass
Geometry: 755x1200
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits
Channel statistics:
Red:
Min: 0 (0)
Max: 255 (1)
Mean: 221.573 (0.868915)
Standard deviation: 57.8563 (0.226887)
Green:
Min: 0 (0)
Max: 255 (1)
Mean: 220.679 (0.865407)
Standard deviation: 53.5961 (0.210181)
Blue:
Min: 0 (0)
Max: 255 (1)
Mean: 184.951 (0.725297)
Standard deviation: 93.7735 (0.367739)
convert -depth 6 image.jpg image.bmp
but every time, the bmp is TrueColor, and 24 bits. I want to make the bmp for a 16 bit LCD, but I can't seem to figure out the convert program. Anyone would could offer a tip, I'd greatly appreciate it.
Info from the identify:
jpg info:
Image: image.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 755x1200
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits
Channel statistics:
Red:
Min: 0 (0)
Max: 255 (1)
Mean: 221.573 (0.868915)
Standard deviation: 57.8563 (0.226887)
Green:
Min: 0 (0)
Max: 255 (1)
Mean: 220.679 (0.865407)
Standard deviation: 53.5961 (0.210181)
Blue:
Min: 0 (0)
Max: 255 (1)
Mean: 184.951 (0.725297)
Standard deviation: 93.7735 (0.367739)
bmp info:
Image: image.bmp
Format: BMP (Microsoft Windows bitmap image)
Class: DirectClass
Geometry: 755x1200
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits
Channel statistics:
Red:
Min: 0 (0)
Max: 255 (1)
Mean: 221.573 (0.868915)
Standard deviation: 57.8563 (0.226887)
Green:
Min: 0 (0)
Max: 255 (1)
Mean: 220.679 (0.865407)
Standard deviation: 53.5961 (0.210181)
Blue:
Min: 0 (0)
Max: 255 (1)
Mean: 184.951 (0.725297)
Standard deviation: 93.7735 (0.367739)