Photo Scrap File The Photo Scrap file is a coded graphics image in a sequentially structured file. The first byte is the number of bytes wide the image is (one eigth of the width in pixels). This means that photo scraps are always even multiples of eight pixels wide. The second and third byte form a word which is the number of pixels high the image is. Following these three bytes is the graphics image, coded in the same format as a click box (suitable fir BitmapClip or BitOtherClip). This format consists of a code bye followed by 1 or more data bytes. The code bytes are classified into the following three basic types. 1) Code bytes less than 128 mean that the following byte is to be repeated that many times. 2) Code bytes ranging from 128 to 219 mean that if 128 is subtracted from the code byte then the result is the number of data bytes that follow. 3) Code bytes ranging from 220 to 255 are special. First 219 is subtracted from the code byte, the result is the number of bytes in the pattern that will follow. Following this code byte is a repetition count for the pattern. Following this are the bytes that constitute the pattern. These could include either of the first two code types. Since graphic images can be in color, the color data follows the graphic image data. The color data is coded in the same way as the graphic data; however, each byte of color data is the color for a block of 8 by 8 pixels (a normal character space). This is the reason that GEOpaint makes photo scraps a multiple of 8 pixels high and wide.