ij.plugin
Class Converter

java.lang.Object
  extended by 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
static boolean newWindowCreated
          obsolete
 
Constructor Summary
Converter()
           
 
Method Summary
 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" or "HSB Stack").