info.magnolia.imaging.operations.load
Class SunJPEGCodecImageDecoder

java.lang.Object
  extended by info.magnolia.imaging.operations.load.SunJPEGCodecImageDecoder
All Implemented Interfaces:
ImageDecoder

public class SunJPEGCodecImageDecoder
extends Object
implements ImageDecoder

An ImageDecoder implementation which uses JPEGImageDecoder (which might not be present on all systems), and if failing, falls back on DefaultImageIOImageDecoder.

Version:
$Id$

Constructor Summary
SunJPEGCodecImageDecoder()
           
 
Method Summary
 BufferedImage read(InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunJPEGCodecImageDecoder

public SunJPEGCodecImageDecoder()
Method Detail

read

public BufferedImage read(InputStream in)
                   throws IOException,
                          ImagingException
Specified by:
read in interface ImageDecoder
Throws:
IOException
ImagingException


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.