void createImage(FileInfo fi, boolean show) { IndexColorModel cm = new IndexColorModel(8, 256, fi.reds, fi.greens, fi.blues); ByteProcessor bp = createImage(cm); setProcessor(fi.fileName, bp); if (show) show(); }
void createImage(FileInfo fi, boolean show) { IndexColorModel cm = new IndexColorModel(8, 256, fi.reds, fi.greens, fi.blues); ByteProcessor bp = createImage(cm); setProcessor(fi.fileName, bp); if (show) show(); }