Squiz Matrix
4.12.2
|
Public Member Functions | |
void | run (String arg) |
byte[] | getJpegContents (ImagePlus imp) |
Static Public Member Functions | |
static void | setQuality (int jpegQuality) |
static int | getQuality () |
Static Public Attributes | |
static final int | DEFAULT_QUALITY = 75 |
The File->Save As->Jpeg command (FileSaver.saveAsJpeg()) uses this plugin to save images in JPEG format when running Java 2. The path where the image is to be saved is passed to the run method.
Definition at line 14 of file JpegWriter.java.
|
inline |
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
Implements PlugIn.
Definition at line 21 of file JpegWriter.java.
|
inlinestatic |
Specifies the image quality (0-100). 0 is poorest image quality, highest compression, and 100 is best image quality, lowest compression.
Definition at line 68 of file JpegWriter.java.