help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pngread does not read 12bit gray images


From: Bill Denney
Subject: Re: pngread does not read 12bit gray images
Date: Thu, 17 Jul 2008 07:35:31 -0400
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Søren Hauberg wrote:
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...
Hi Soren,

Without reiterating my statements from the entire thread, how would you do this without requiring a uint12 class or additional meta-data?

Have a good day,

Bill


reply via email to

[Prev in Thread] Current Thread [Next in Thread]