I'd like to get pixel range for a profile. For 16-bit ints, this includes all the ints, 0 to 0xFFFF.
However, for doubles, the range is more variable. Often [0..1] but for lab for example, it's [0..100],[-128..127,[-128..127]. For CMYKs, it seems to vary greatly. Is there a way to get these min/max values via the API? One way I seem to be able to get them by doing a quick transform of the smallest (0,0,0) and largest (0xFFFF,0xFFFF,0xFFFF) 16-bit ints to double. This generally seems to work, but then when I iteratively test a bunch of pixels by converting the test pixel from INT16 to double, I'm able to find a few that when converted to double, fall outside this range (usually by only one component, and usually by just a little bit). Is there are way I can get the real min/max range of the profile? Thanks! ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user