1 7 8 17 18 package com.sun.image.codec.jpeg; 19 20 21 54 55 import java.io.InputStream ; 56 import java.io.IOException ; 57 import java.awt.Point ; 58 import java.awt.color.ColorSpace ; 59 import java.awt.image.BufferedImage ; 60 import java.awt.image.ColorModel ; 61 import java.awt.image.DirectColorModel ; 62 import java.awt.image.DataBuffer ; 63 import java.awt.image.DataBufferByte ; 64 import java.awt.image.DataBufferInt ; 65 import java.awt.image.Raster ; 66 import java.awt.image.SampleModel ; 67 import java.awt.image.WritableRaster ; 68 69 90 91 public interface JPEGImageDecoder { 92 93 97 public JPEGDecodeParam getJPEGDecodeParam(); 98 99 106 public void setJPEGDecodeParam(JPEGDecodeParam jdp); 107 108 112 public InputStream getInputStream(); 113 114 125 public Raster decodeAsRaster() 126 throws IOException , ImageFormatException; 127 128 138 public BufferedImage decodeAsBufferedImage() 139 throws IOException , ImageFormatException; 140 141 } 143 | Popular Tags |