// Decode the compressed data into a Raster.
Raster jpegRaster = null;
try {
jpegRaster = colorConvert ?
decoder.decodeAsBufferedImage().getWritableTile(0, 0) :
decoder.decodeAsRaster();
} catch (IOException ioe) {
String message = JaiI18N.getString("TIFFImage13");
ImagingListenerProxy.errorOccurred(message,
new ImagingException(message, ioe),