ons, 16 07 2008 kl. 18:49 -0400, skrev de Almeida, Valmor F.:
Thank you for pointing this out. I currently read 12-bit png images as
follows
Y = __magick_read__(filename);
Y = bitshift(Y,-4);
and this matches the info from running imagemagick identify on the file.
Would it be possible for you to put your 12-bit image somewhere online?
I think it would be nice if the future version of 'imread' would support
12 bit images in a way where the 'bitshift' wasn't needed. But I don't
have any 12 bit images at hand so its hard to debug...