Page 1 of 1

Confusion with BMP

Posted: Thu Apr 30, 2009 3:45 am
by Mazek
Sorry I'm confuse.

1. How is bits related to color depth..what is 24 bits and what is 256 colors?
2. In Batch Processing

Image

all those parameters are in bits or colors numbers or color pallets?

Re: Confusion with BMP

Posted: Thu Apr 30, 2009 6:49 am
by eL_PuSHeR
Everything <=256 colours is paletted. For colour depts greater than 8bpp is high/true colour.

Re: Confusion with BMP

Posted: Thu Apr 30, 2009 7:51 am
by Mazek
So that means, in that parameters:

32, 8, 16 is bits/pixel?
216, 64, 256, 128 is color pallets?

Where's 24 bits?

Edit: Never mind. I checked in the nconvert parameters and found all those numbers. I figure all those numbers in the screenshot must be color num or something

Re: Confusion with BMP

Posted: Fri May 01, 2009 10:07 pm
by helmut
Bits is basic unit for information storage. There's indeed a relation, because "colour" is information which needs to be stored.

Some examples:
- With one bit per pixel you can store 2 colours: black / white.

- With 8 bit per pixel you can store up to 255 different colours. Often, the colours are not predefined but defined in a so-called colour map which uses 24 bit per colour (8 bit per colour channel red, green, and blue). Per pixel only the index to one of the 256 different colours in the colour map is stored.

- 24 bit per pixel will allow the choice of one of ~16 Mio. colours per pixels.


The transformation "Convert to Colours" should actually be named "Convert to Colour palette", because the image is converted to a colour palette with a maximum of <x> colours. For a conversion to true colour please use the transformation "Convert to True Colours".