public class JpegImageUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JpegImageUtils.JpegImageParams |
static class |
JpegImageUtils.SamplingModes
Various subsampling modes supported by Jpeg and the corresponding values for
this integer.
|
| Modifier and Type | Method and Description |
|---|---|
static JpegImageUtils.JpegImageParams |
getJpegImageData(InputStream is,
String filename)
This function tries to extract various information from jpeg image like subsampling, jpeg
compression quality and whether huffman optimzation is applied on the image data.
|
public static JpegImageUtils.JpegImageParams getJpegImageData(InputStream is, String filename) throws IOException, org.apache.sanselan.ImageReadException
is - input stream comprisng the image data.filename - of the image.IOExceptionorg.apache.sanselan.ImageReadExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.