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.PlugIn
protected void writeHeader(PrintStream out, String name, int w, int h, int colorCount) throws IOException
IOException
protected static String toHex(byte b)
protected void writeColorTable(PrintStream out, char[] letters, ij.LookUpTable lut) throws IOException
IOException
protected void writeImage(PrintStream out, int w, int h, byte[] pixels, char[] letters) throws IOException
IOException
Copyright © 2015–2021 Fiji. All rights reserved.