serializedImage = (SerializableRenderedImage) source;
} else {
if (tileEncoding == null) {
tileEncoding = "gzip";
}
serializedImage = new SerializableRenderedImage(source, false, null,
tileEncoding, null, null);
final LogRecord record = Loggings.format(Level.FINE,
LoggingKeys.CREATED_SERIALIZABLE_IMAGE_$2, getName(), tileEncoding);
record.setSourceClassName(GridCoverage2D.class.getName());
record.setSourceMethodName("writeObject");