Package ij.plugin

Class Converter

  • All Implemented Interfaces:
    PlugIn

    public class Converter
    extends Object
    implements PlugIn
    Implements the conversion commands in the Image/Type submenu.
    • Field Detail

      • newWindowCreated

        public static boolean newWindowCreated
        obsolete
    • Constructor Detail

      • Converter

        public Converter()
    • 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
      • convert

        public void convert​(String item)
        Converts the ImagePlus to the specified image type. The string argument corresponds to one of the labels in the Image/Type submenu ("8-bit", "16-bit", "32-bit", "8-bit Color", "RGB Color", "RGB Stack" or "HSB Stack").