You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With debug mode, I can the following:
=== OPTIMIZING ===
Applying filter: NONE
Applying filter: SUB
Applying filter: UP
Applying filter: AVERAGE
Applying filter: PAETH
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8388609
at com.googlecode.pngtastic.core.processing.zopfli.Squeeze.optimalRun(Squeeze.java:76)
at com.googlecode.pngtastic.core.processing.zopfli.Squeeze.optimal(Squeeze.java:44)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.deflateDynamicBlock(Deflate.java:245)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.deflateSplittingFirst(Deflate.java:288)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.deflatePart(Deflate.java:225)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.compress(Deflate.java:397)
at com.googlecode.pngtastic.core.processing.zopfli.Zopfli.compressZlib(Zopfli.java:60)
at com.googlecode.pngtastic.core.processing.zopfli.Zopfli.compress(Zopfli.java:51)
at com.googlecode.pngtastic.core.processing.ZopfliCompressionHandler.deflate(ZopfliCompressionHandler.java:40)
at com.googlecode.pngtastic.core.PngOptimizer.optimize(PngOptimizer.java:124)
at com.googlecode.pngtastic.core.PngOptimizer.optimize(PngOptimizer.java:48)
at io.haylyn.util.CustomTiler.readWriteTiles(CustomTiler.java:205)
at io.haylyn.util.CustomTiler.main(CustomTiler.java:336)
Here is the problem image:
The text was updated successfully, but these errors were encountered:
I'm running the optimizer on numerous files. One file in particular crashes each time with the following code:
optimizer.setCompressor("zopfli", 32);
optimizer.optimize(pi, ofn, false, null);
With debug mode, I can the following:
=== OPTIMIZING ===
Applying filter: NONE
Applying filter: SUB
Applying filter: UP
Applying filter: AVERAGE
Applying filter: PAETH
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8388609
at com.googlecode.pngtastic.core.processing.zopfli.Squeeze.optimalRun(Squeeze.java:76)
at com.googlecode.pngtastic.core.processing.zopfli.Squeeze.optimal(Squeeze.java:44)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.deflateDynamicBlock(Deflate.java:245)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.deflateSplittingFirst(Deflate.java:288)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.deflatePart(Deflate.java:225)
at com.googlecode.pngtastic.core.processing.zopfli.Deflate.compress(Deflate.java:397)
at com.googlecode.pngtastic.core.processing.zopfli.Zopfli.compressZlib(Zopfli.java:60)
at com.googlecode.pngtastic.core.processing.zopfli.Zopfli.compress(Zopfli.java:51)
at com.googlecode.pngtastic.core.processing.ZopfliCompressionHandler.deflate(ZopfliCompressionHandler.java:40)
at com.googlecode.pngtastic.core.PngOptimizer.optimize(PngOptimizer.java:124)
at com.googlecode.pngtastic.core.PngOptimizer.optimize(PngOptimizer.java:48)
at io.haylyn.util.CustomTiler.readWriteTiles(CustomTiler.java:205)
at io.haylyn.util.CustomTiler.main(CustomTiler.java:336)
Here is the problem image:
The text was updated successfully, but these errors were encountered: