Module ij
Package ij.plugin

Class Converter

  • All Implemented Interfaces:
    PlugIn

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

      Fields 
      Modifier and Type Field Description
      static boolean newWindowCreated
      obsolete
    • Constructor Summary

      Constructors 
      Constructor Description
      Converter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void convert​(java.lang.String item)
      Converts the ImagePlus to the specified image type.
      void run​(java.lang.String arg)
      This method is called when the plugin is loaded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • newWindowCreated

        public static boolean newWindowCreated
        obsolete
    • Constructor Detail

      • Converter

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

        public void convert​(java.lang.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", "HSB Stack", "Lab Stack" or "HSB (32-bit)").