|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij.plugin.JpegWriter
public class JpegWriter
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.
Field Summary | |
---|---|
static int |
DEFAULT_QUALITY
|
Constructor Summary | |
---|---|
JpegWriter()
|
Method Summary | |
---|---|
static int |
getQuality()
|
void |
run(java.lang.String arg)
This method is called when the plugin is loaded. |
static void |
setQuality(int jpegQuality)
Specifies the image quality (0-100). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_QUALITY
Constructor Detail |
---|
public JpegWriter()
Method Detail |
---|
public void run(java.lang.String arg)
PlugIn
run
in interface PlugIn
public static void setQuality(int jpegQuality)
public static int getQuality()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |