decoder = JPEGCodec.createJPEGDecoder(is);
BufferedImage image;
image = decoder.decodeAsBufferedImage();
CachableRed cr;
cr = GraphicsUtil.wrap(image);
cr = new Any2sRGBRed(cr);
WritableRaster wr = (WritableRaster)cr.getData();
ColorModel cm = cr.getColorModel();
image = new BufferedImage
(cm, wr, cm.isAlphaPremultiplied(), null);
cr = GraphicsUtil.wrap(image);