Package ij.plugin

Class 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.
    • Constructor Detail

      • JpegWriter

        public JpegWriter()
    • Method Detail

      • run

        public void run​(String arg)
        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.
        Specified by:
        run in interface PlugIn
      • setQuality

        public static void setQuality​(int jpegQuality)
        Deprecated.
        replaced by FileSaver.setJpegQuality()
      • getQuality

        public static int getQuality()
        Deprecated.
        replaced by FileSaver.getJpegQuality()