Package ij.plugin
Class JpegWriter
java.lang.Object
ij.plugin.JpegWriter
- All Implemented Interfaces:
PlugIn
public class JpegWriter extends Object implements PlugIn
The File/Save As/Jpeg command (FileSaver.saveAsJpeg() method)
uses this plugin to save images in JPEG format.
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_QUALITY
-
Constructor Summary
Constructors Constructor Description JpegWriter()
-
Method Summary
Modifier and Type Method Description static int
getQuality()
Deprecated.replaced by FileSaver.getJpegQuality()void
run(String arg)
This method is called when the plugin is loaded.static String
save(ImagePlus imp, String path, int quality)
Thread-safe method.static void
setQuality(int jpegQuality)
Deprecated.replaced by FileSaver.setJpegQuality()
-
Field Details
-
DEFAULT_QUALITY
public static final int DEFAULT_QUALITY- See Also:
- Constant Field Values
-
-
Constructor Details
-
JpegWriter
public JpegWriter()
-
-
Method Details
-
run
Description copied from interface:PlugIn
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. -
save
Thread-safe method. -
setQuality
public static void setQuality(int jpegQuality)Deprecated.replaced by FileSaver.setJpegQuality() -
getQuality
public static int getQuality()Deprecated.replaced by FileSaver.getJpegQuality()
-