0
Under review

Error opening some PNG files in Comics

Michael 4 years ago • updated by Alpe 4 months ago 3
I am unable to view certain PNGs from my Libary with the current Version (1.8.2) and I think it may be related to the this Bug because of the error Messages (also no Idea why it's using the JPEGImageWriter).
Getting the following Errors in the log:

Error 1:
WARN com.ubooquity.provider.page.a - Could not extract page 0 from comic /volume1/homes/Michael/photo/Comic_Manga/[redacted]/cayn99_Short_Stories&Art.cbz
javax.imageio.IIOException: Illegal band size: should be 0 < size <= 8
   at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:494) ~[na:1.7.0_75]
   at com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:360) ~[na:1.7.0_75]
    at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageWriter.write(Unknown Source) ~[imageio-jpeg-3.1.0.jar.3623165038975502604.tmp:3.1.0]
   at com.ubooquity.provider.page.a.a(SourceFile:129) [Ubooquity.jar:1.8.2]
   at com.ubooquity.provider.page.a.a(SourceFile:80) [Ubooquity.jar:1.8.2]
   at com.ubooquity.c.a(SourceFile:318) [Ubooquity.jar:1.8.2]
   at com.ubooquity.c.a(SourceFile:57) [Ubooquity.jar:1.8.2]
   at com.ubooquity.c$1.a(SourceFile:129) [Ubooquity.jar:1.8.2]
   at com.ubooquity.e.e.a(SourceFile:287) [Ubooquity.jar:1.8.2]
   at com.ubooquity.e.e$f.a(SourceFile:830) [Ubooquity.jar:1.8.2]
   at com.ubooquity.e.e$1$1.run(SourceFile:210) [Ubooquity.jar:1.8.2]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75]
   at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]

Irfanview Filedata:


Can't post an example Image because NSFW.

Error 2
[pool-1-thread-3] WARN com.ubooquity.provider.page.a - Could not extract page 8 from comic /volume1/homes/Michael/photo/Comic_Manga/Body Swap/Uchuu_o_Kakeru_Yodaka_vol01-_ch01-.cbz
javax.imageio.IIOException: Bogus input colorspace
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage(Native Method) ~[na:1.7.0_75]
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:1058) ~[na:1.7.0_75]
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:360) ~[na:1.7.0_75]
at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageWriter.write(Unknown Source) ~[imageio-jpeg-3.1.0.jar.3623165038975502604.tmp:3.1.0]
at com.ubooquity.provider.page.a.a(SourceFile:129) [Ubooquity.jar:1.8.2]
at com.ubooquity.provider.page.a.a(SourceFile:80) [Ubooquity.jar:1.8.2]
at com.ubooquity.c.a(SourceFile:318) [Ubooquity.jar:1.8.2]
at com.ubooquity.c.a(SourceFile:57) [Ubooquity.jar:1.8.2]
at com.ubooquity.c$1.a(SourceFile:129) [Ubooquity.jar:1.8.2]
at com.ubooquity.e.e.a(SourceFile:287) [Ubooquity.jar:1.8.2]
at com.ubooquity.e.e$f.a(SourceFile:830) [Ubooquity.jar:1.8.2]
at com.ubooquity.e.e$1$1.run(SourceFile:210) [Ubooquity.jar:1.8.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]

Irfanview Filedata:


Example Image:


Under review
I have been able to reproduce the problem with the image you provided, I'll investigate.
It does not seem new though, as I had the same result with version 1.7.6.

Your first error is a different one, I'll need the image file to investigate this one too.
If you want you can send it to me using the "private message" option (just under the search field).

So... 4 years.
I'm having those IIOException too with multiple CBZ files.
One of them: Mega
Any chance of this getting fixed?

Provided link to NSFW Image via PM.