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: Søren Hauberg
Subject: RE: pngread does not read 12bit gray images
Date: Thu, 17 Jul 2008 09:11:11 +0200

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...

Søren



reply via email to

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