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

Class PNG_Writer

  • All Implemented Interfaces:
    PlugIn


    public class PNG_Writer
    extends java.lang.Object
    implements PlugIn
    Saves in PNG format using the ImageIO classes. RGB images are saved as RGB PNGs. All other image types are saved as 8-bit PNGs. With 8-bit images, the value of the transparent index can be set in the Edit/Options/Input-Output dialog, or by calling Prefs.setTransparentIndex(index), where 0<=index<=255.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PNG_Writer() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void run(java.lang.String path)
      This method is called when the plugin is loaded.
      void writeImage(ImagePlus imp, java.lang.String path, int transparentIndex) 
      • Methods inherited from class java.lang.Object

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

      • PNG_Writer

        public PNG_Writer()
    • Method Detail

      • run

        public void run(java.lang.String path)
        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
      • writeImage

        public void writeImage(ImagePlus imp,
                               java.lang.String path,
                               int transparentIndex)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.