ylb11 / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

pngtoimage() and imagetopng() have wrong byte order for 16-Bit image #365

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In pngtoimage() and imagetopng() the byte order is wrong for 16-Bit
images.

See attached patches.

winfried

Original issue reported on code.google.com by szukw...@arcor.de on 29 Jun 2014 at 8:08

Attachments:

GoogleCodeExporter commented 9 years ago
No, no, no.
I was confused by the MATLAB image mentioned in

 [OpenJPEG] Reading and writing comments like Matlab does

This image turned out to have

 <Pixels BigEndian="true" Interleaved="true"

Please remove this issue.

winfried

Original comment by szukw...@arcor.de on 1 Jul 2014 at 12:29

GoogleCodeExporter commented 9 years ago

Original comment by m.darb...@gmail.com on 24 Nov 2014 at 10:30