org.jmol.export.image
public class PpmEncoder extends ImageEncoder
Constructor Summary | |
---|---|
PpmEncoder(Image img, OutputStream out) | |
PpmEncoder(ImageProducer prod, OutputStream out) |
Method Summary | |
---|---|
void | encodeDone() |
void | encodePixels(int x, int y, int w, int h, int[] rgbPixels, int off, int scansize) |
void | encodeStart(int width, int height) |
static void | writeString(OutputStream out, String str) |