What are CIEXYZ color space endpoints and how are they written in an image file?

Viewed 18

I am a high school kid trying to make a simple python image manipulation library which works with bitmap file formats. I was coding the DIB headers when i came across BITMAPV5HEADER. The header contains fields of CIEXYZ color space end points and ICC profiles.

Wiki page I am referencing : https://en.wikipedia.org/wiki/BMP_file_format

I researched on the topic but got nothing of how the pc was going to read those fields. I got hold of a bitmap image that uses the BITMAPV5HEADER and tried to extract the CIEXYZ color space endpoints data.

The image download link: https://filesamples.com/samples/image/bmp/sample_640%C3%97426.bmp

I tried converting it to hex and integers and tried pulling it apart in parts but i am not able to understand anything. I have read through what color spaces are, how they work, different types of color spaces. It would be really helpful if someone could tell me enough on how to extract the different attributes of the color space endpoints and ICC profiles so that I can continue with my small project.

0 Answers
Related