On Mon, Oct 07, 2002, Laurens M. Fridael wrote: > In case you hadn't thought of it: width and height should be shorts > (2bytes).
Yep, and I did think about it. The last three bits of the function code is the size of the data, i.e. 0x1E == 00011110 -> last three bits = 110 -> 6 bytes of data ;-) It would probably be a good idea to include the bit depth, too, to make it possible for the viewer to determine if it can display the image. I guess the remaining byte is enough (i.e. I doubt we will use more than 255bpp images:) That would change the function code to be 0x1F instead. /Mike _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
