For sprites that require each their own rich palette, Bitmaps are the best choice. For average sprites using the standard VGA palette SPF files are a good choice. A Bitmap of the same size would require 2.98k. Because if they don't use the standard palette, they must be accompanied by a separate palette that conforms to the image's needs, ultimately increasing the overall size of the image. Fortunately, most DOS and VGA programmers do use the standard palette, so one need not worry.
All subsequent characters represent the color of a pixel.
They are read and written to the screen left to right, top to bottom. Algorithm To load SPF files, there is a simple algorithm involved. Then we begin the master loop.