freudi74 / mfimage

Library for reading / writing images from multiple file formats in a way suitable for color management and manipulating them.
GNU General Public License v3.0
6 stars 3 forks source link

Read/Write L*a*b* TIFFs #19

Open freudi74 opened 8 years ago

freudi74 commented 8 years ago

Read CIELAB TIFFs and store them internally in 32 bit (float) per channel (although image files might be 8, 16 bit). Always write as 16 bit ?

freudi74 commented 8 years ago

Avtually, also read ICCLab TIFFs... For writing, always go for CIELab ? Or always for ICCLab?

freudi74 commented 8 years ago

NOT supporting ITULab (Photometric Representation=10, described in RFC2301) for now. Might add that later. That format is used for color fax, but might add the assumption, that all ColorFax options specifications in RFC2301 are supported (12 bits, for example), which will not be the case for now. Don't want to open the legacy support issue can of worms for now if any other features are required to correctly read ITULab actually. Need to understand the full specification first.

freudi74 commented 8 years ago

DONE READING. Testing is another beast. Where to get good images from? I only have one known good tiff: PHOTOMETRIC_CIELAB, 8 bitsPerSample, no alpha, contingous. Tested with that, works like a charme. Sidenote: obviously GIMP and some other linux tools have problems reading CIELab TIFFS, they show a strange color (bad white point ?). Writing doesn't work yet.