Re: Problem reading depth 16 gray image.

GianPiero Puccioni <[email protected]> Mon, 16 Aug 2004 17:22:21 +0200
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
* Bob Friesenhahn <[email protected]> [040816 16:38]:

[...]

> The most likely cause of the problem is if your "raw" file is written 
> on an Intel machine using short int.  GraphicsMagick uses network 
> (e.g. big-endian) byte order for raw files.  If this is the cause, 
> then you would need to update your raw file writer so that it 
> specifically outputs the high byte first, followed by the low byte.

I thought that was what -endian MSB/LSB did. But I tried both with no
result. I am not sure what the source of the image is (I think it's
generated by the software that comes with a camera or an acquisition
board, it's all multispectral art imaging) I'll ask when the person that
gave me the image comes back. Maybe there is a way of changing the
output.

> 
> > I can send you an image but it's rather big (2MB) you can get it from
> > http://www.ino.it/~gip/files/images/uv600_360.raw
> 
> I have downloaded your image.
> 
Which is wrong! Sorry I realized I put there an image that came from a
slightly different source (sort of the same but with some headers). I
put a proper one now:
http://www.ino.it/~gip/files/images/b700_0009.raw

Thanks,

GianPiero
-- 
****************************************************************************
*  Istituto Nazionale di Ottica Applicata              GianPiero Puccioni  *
*  Largo E.Fermi 6                            E-Mail :         [email protected]  *
*  I-50125  Firenze - ITALY     Tel +39 055 23081  -  Fax +39 055 2337755  *
****************************************************************************


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285