ATARI Bitmap converter

All about ST/STE demos

Moderators: Mug UK, lotek_style, Moderator Team

User avatar
leonard
Moderator
Moderator
Posts: 640
Joined: Thu May 23, 2002 10:48 pm
Contact:

ATARI Bitmap converter

Postby leonard » Mon Mar 14, 2016 10:53 pm

Hi,

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
You do not have the required permissions to view the files attached to this post.
Leonard/OXYGENE.

User avatar
npomarede
Atari God
Atari God
Posts: 1163
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: ATARI Bitmap converter

Postby npomarede » Tue Mar 15, 2016 9:25 am

Hi

I think you somewhat duplicated part of what Troed / sync wrote 7 months ago :) and which has the "advantage" of using Java, so can run on any OS
https://github.com/troed/PNGconv

Options are not exactly the same, maybe you should merge both work in a "one tool to rule them all" :)

Nicolas

User avatar
leonard
Moderator
Moderator
Posts: 640
Joined: Thu May 23, 2002 10:48 pm
Contact:

Re: ATARI Bitmap converter

Postby leonard » Tue Mar 15, 2016 12:00 pm

npomarede wrote:I think you somewhat duplicated part of what Troed / sync


Oh I wasn't aware of that tool! Looks really similar. Mine just fit my needs in "We Were @" demo so it has sprite sheet support and "one palette per line" image converter. Obviously I didn't add any AMIGA options :)
Leonard/OXYGENE.

User avatar
troed
Atari God
Atari God
Posts: 1197
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: ATARI Bitmap converter

Postby troed » Tue Mar 15, 2016 3:52 pm

Haha - great minds think alike :D My tool, of course, was also written for our needs when we made Closure :)

/Troed


Social Media

     

Return to “Demos - General”

Who is online

Users browsing this forum: No registered users and 1 guest