public class JPGWriter extends ImageWriter
| Constructor and Description |
|---|
JPGWriter() |
JPGWriter(ImageParam param) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCMYK_ICC_Profile() |
ImageType |
getImageType() |
protected void |
write(int[] pixels,
int imageWidth,
int imageHeight,
java.io.OutputStream os)
The actual image writing method to be implemented by any specific ImageWriter subclass
|
void |
writeDefaultJPEGTables(java.io.OutputStream os)
Write default JPEG tables for TIFF image only.
|
getImageParam, setImageParam, writepublic JPGWriter()
public JPGWriter(ImageParam param)
public byte[] getCMYK_ICC_Profile()
public ImageType getImageType()
getImageType in class ImageWriterprotected void write(int[] pixels,
int imageWidth,
int imageHeight,
java.io.OutputStream os)
throws java.lang.Exception
ImageWriterwrite in class ImageWriterpixels - input image array in ARGB formatimageWidth - image widthimageHeight - image heightos - OutputSteam to write the imagejava.lang.Exceptionpublic void writeDefaultJPEGTables(java.io.OutputStream os)
throws java.lang.Exception
java.lang.Exception