arachno7 / java-dds

Automatically exported from code.google.com/p/java-dds
GNU General Public License v2.0
0 stars 0 forks source link

Spi changes stream byte order #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a class with a method that successfully loads a PNG file 
(ImageIO.read(URL/InputStream/etc)).
2. Add java-dds to classpath.
3. Attempt to execute the aforementioned method.

What is the expected output? What do you see instead?
Expected output: PNG is successfully read into an Image object.
Result: javax.imageio.IIOException: I/O error reading PNG header!
[...]
Caused by: javax.imageio.IIOException: Bad length for IHDR chunk!

What version of the product are you using? On what operating system?
SVN rev 16. Windows 7 Pro x86, Java 6u43 x86.

Please provide any additional information below.
I have attached a suggested fix for this issue.

Original issue reported on code.google.com by cossack...@gmail.com on 6 Mar 2013 at 5:06

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for your contribution! patch applied @ revision 17

Original comment by nikla...@gmail.com on 6 Mar 2013 at 7:33

GoogleCodeExporter commented 9 years ago

Original comment by nikla...@gmail.com on 28 Dec 2013 at 7:09