05-30-2003, 06:44 PM
(or in any other 8-bit, 1 plane mode). In mode 12, for example, you'd just multiply the width by 1, i.e., you wouldn't really need to multiply it by anything. What you're really doing is multiplying the width by the number of bits per pixel and then dividing by the number of bit planes per pixel. In mode 8, bits per pixel = 8 and bit planes = 1. That way, the first two bytes in the array give the width in pixels per bit plane of the picture. Storing that number instead of the width itself is for the benefit of PUT. (It apparently makes it easier for PUT to use the array.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.