Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: BPP

$
0
0
Dirk,
But it seems that the TIFF file is created properly according to the TIFF Spec. This is from "Section 5: Palette-color Images".
PhotometricInterpretation = 3 (Palette Color).

ColorMap
Tag     = 320 (140.H) Type   = SHORT
N         = 3 * (2**BitsPerSample)

This field defines a Red-Green-Blue color map (often called a lookup table) for palette color 
images. In a palette-color image, a pixel value is used to index into an RGB-lookup table. For 
example, a palette-color pixel having a value of 0 would be displayed according to the 0th Red, 
Green, Blue triplet.

In a TIFF ColorMap, all the Red values come first, followed by the Green values, then the Blue 
values. In the ColorMap, black is represented by 0,0,0 and white is
represented by 65535, 65535, 65535.
So if it's created right I'm not sure why IM.Net is not reporting it right. Maybe my ignorance is too great here?

Thanks,
Darren

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>