|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.plugin.JpegWriter
public class JpegWriter
The File/Save As/Jpeg command (FileSaver.saveAsJpeg() method) uses this plugin to save images in JPEG format.
Field Summary | |
---|---|
static int |
DEFAULT_QUALITY
|
Constructor Summary | |
---|---|
JpegWriter()
|
Method Summary | |
---|---|
static int |
getQuality()
Deprecated. replaced by FileSaver.getJpegQuality() |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded. |
static java.lang.String |
save(ImagePlus imp,
java.lang.String path,
int quality)
Thread-safe method. |
static void |
setQuality(int jpegQuality)
Deprecated. replaced by FileSaver.setJpegQuality() |
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 java.lang.String save(ImagePlus imp, java.lang.String path, int quality)
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 |