Here is a nice tool for demo creation. It's a bitmap converter, with several options. It can read any picture format ( use FreeImage internally ) and produce 1 to 4 bitplans image. Support chunky mode, 16 colors per line with dithering, support sprite sheet, etc. For information that tool was made to proceed with all bitmaps of the "We Were @" demo.
Code: Select all
ATARI Bitmap Converter v1.0
Leonard/OXYGENE
Usage: abc <input image name> [-options] <output file>
Options:
-[1|2|3|4] : generate <n> bitplans file (4 by default)
-chunky : generate chunky data (1byte per pixel)
-pal=<name>: generate palette file (444 STE)
-rgb : generate RGB bitmap ( 16bits per pixel, 444 STE)
-mp15 : generate 1 palette of 15 colors per line
-mp16 : generate 1 palette of 16 colors per line
-sprw=<n> : image contains <n> pixels width sprites
-sprh=<n> : image contains <n> pixels heigth sprites
-sprc=<n> : image contains <n> sprites
-corner : use corner 0,0 for background color
-cr : force color reduction if needed
-pcp=<name>: generate PC PNG preview file (with -mp)
Ex, to process the we were greetings big scrolling picture:
Code: Select all
..\..\BitmapConverter\abc large_pic.png -mp15 -chunky large_pic.bin -pal=large_pic.pal -pcp=large_pic_pc.png
To proceed the 3d sprite screen with 128 sprites cut:
Code: Select all
..\..\BitmapConverter\abc SprAnim.png -4 -sprw=32 -sprh=32 -sprc=128 -pal=SprAnim.pal SprAnim.bin
To proceed the "oxygene" logo with 16 pixels rows:
Code: Select all
..\..\BitmapConverter\abc -chunky logo.png logo.gfx -pal=logo.pal -sprw=16 -sprh=272