1 7 8 17 18 package com.sun.image.codec.jpeg; 19 20 21 97 98 public interface JPEGEncodeParam 99 extends Cloneable , JPEGDecodeParam 100 { 101 public Object clone(); 102 103 110 public void setHorizontalSubsampling(int component, 111 int subsample); 112 113 120 public void setVerticalSubsampling(int component, 121 int subsample); 122 123 129 public void setQTable( int tableNum, JPEGQTable qTable ); 130 131 138 public void setDCHuffmanTable( int tableNum, 139 JPEGHuffmanTable huffTable); 140 141 148 public void setACHuffmanTable( int tableNum, 149 JPEGHuffmanTable huffTable); 150 151 152 157 public void setDCHuffmanComponentMapping( int component, int table); 158 163 public void setACHuffmanComponentMapping( int component, int table); 164 169 public void setQTableComponentMapping( int component, int table); 170 171 176 public void setImageInfoValid(boolean flag); 177 178 183 public void setTableInfoValid(boolean flag); 184 185 193 public void setMarkerData(int marker, byte[][] data); 194 195 202 public void addMarkerData(int marker, byte []data); 203 204 208 public void setRestartInterval( int restartInterval ); 209 210 211 217 public void setDensityUnit( int unit); 218 224 public void setXDensity( int density ); 225 231 public void setYDensity( int density ); 232 233 257 public void setQuality(float quality, boolean forceBaseline ); 258 } 259 | Popular Tags |