Module ij
Package ij.plugin

Class Converter

java.lang.Object
ij.plugin.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

    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 Details

  • Constructor Details

  • Method Details

    • 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)").