that because the buffers dbuf and rbuf in src/paint/Interface/applib/rle.c are unsigned char pointers. So it would appear that an involved rewrite of the paint library routines would be necessary for 16- or 24-bit colors, correct? -- Duane Wessels <duane at pallas.pnl.gov> Pacific Northwest Laboratory -- Richland, Washington