public class XPM_Writer extends Object implements ij.plugin.PlugIn
| Constructor and Description |
|---|
XPM_Writer() |
| Modifier and Type | Method and Description |
|---|---|
void |
run(String arg) |
protected static String |
toHex(byte b) |
protected void |
writeColorTable(PrintStream out,
char[] letters,
ij.LookUpTable lut) |
protected void |
writeHeader(PrintStream out,
String name,
int w,
int h,
int colorCount) |
protected void |
writeImage(PrintStream out,
int w,
int h,
byte[] pixels,
char[] letters) |
public void run(String arg)
run in interface ij.plugin.PlugInprotected void writeHeader(PrintStream out, String name, int w, int h, int colorCount) throws IOException
IOExceptionprotected static String toHex(byte b)
protected void writeColorTable(PrintStream out, char[] letters, ij.LookUpTable lut) throws IOException
IOExceptionprotected void writeImage(PrintStream out, int w, int h, byte[] pixels, char[] letters) throws IOException
IOExceptionCopyright © 2015–2021 Fiji. All rights reserved.