wp.setCompressionQuality((float) this.compressionRatio);
}
wp.setTilingMode(ImageWriteParam.MODE_EXPLICIT);
wp.setTiling(internalTileWidth, internalTileHeight, 0, 0);
writerWI.write(gc, null);
writerWI.dispose();
} catch (IOException e) {
LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
fireEvent(e.getLocalizedMessage(), 0);
return;