Documentation of 'ij.plugin.JpegWriter' Java class
JpegWriter
ij.plugin

Class JpegWriter

  • All Implemented Interfaces:
    PlugIn


    public class JpegWriter
    extends java.lang.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 and Description
      static int DEFAULT_QUALITY 
    • Constructor Summary

      Constructors 
      Constructor and Description
      JpegWriter() 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JpegWriter

        public JpegWriter()
    • Method Detail

      • run

        public void run(java.lang.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
      • save

        public static java.lang.String save(ImagePlus imp,
                                            java.lang.String path,
                                            int quality)
        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()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.