Open nmco opened 8 years ago
Wondering, picking the native one in PNG might actually slow things down compared to PNGJ. I though that ImageIO was using priorities to pick the "best" writer for the job (based on declared priorities). Nuno, did you get by any chance the PNGJ writer instead of the PNG native one?
In the MetaTile class the selected reader is random: https://github.com/GeoWebCache/geowebcache/blob/5d841c426741ce71eb69a9b11c9e8d14ebdfc7bb/geowebcache/core/src/main/java/org/geowebcache/layer/MetaTile.java#L360-L361
With JAI present we may not use the JAI reader because the normal one was loaded first.
This issue was reproduced with a real use case.