Confusion with BMP

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Mazek
Posts: 17
Joined: Thu Apr 30, 2009 3:36 am

Confusion with BMP

Post 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?
eL_PuSHeR
Posts: 267
Joined: Sat Apr 25, 2009 9:23 am

Re: Confusion with BMP

Post by eL_PuSHeR »

Everything <=256 colours is paletted. For colour depts greater than 8bpp is high/true colour.
Mazek
Posts: 17
Joined: Thu Apr 30, 2009 3:36 am

Re: Confusion with BMP

Post 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
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Confusion with BMP

Post 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".
Post Reply