ij.plugin
Class BMP_Writer
java.lang.Object
ij.plugin.BMP_Writer
- All Implemented Interfaces:
- PlugIn
public class BMP_Writer
- extends Object
- implements PlugIn
Implements the File/Save As/BMP command. Based on BMPFile class from
http://www.javaworld.com/javaworld/javatips/jw-javatip60-p2.html
|
Method Summary |
void |
run(String path)
This method is called when the plugin is loaded. |
void |
saveBitmap(String parFilename,
Image parImage,
int parWidth,
int parHeight)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BMP_Writer
public BMP_Writer()
run
public void run(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
saveBitmap
public void saveBitmap(String parFilename,
Image parImage,
int parWidth,
int parHeight)
throws Exception
- Throws:
Exception
Copyright © 1997–2015 NIH. All rights reserved.