AminetAminet
Search:
85089 packages online
About
Recent
Browse
Search
Upload
Setup
Services

gfx/conv/1il-bmp2bin.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:bmp2bin for 15-32Bit RTG game developers
Author: amiga at 1infiniteloop.se (Christian Nylen)
Uploader:amiga 1infiniteloop se (Christian Nylen)
Type:gfx/conv
Version:0.3
Architecture:m68k-amigaos >= 3.0
Date:2026-01-06
Distribution:Aminet
Download:gfx/conv/1il-bmp2bin.lha - View contents
Readme:gfx/conv/1il-bmp2bin.readme
Downloads:1492

About
=====

bmp2bin as a command-line tool for converting 32-bit
BMP files to 15/16/32-bit binary files.

BMP files need to be 32-bit and have a v5 header. Tested
and works using Pixelmator Pro saved files on macOS and
I think GIMP works to.

This tool was made when I wanted to try to do a system
friendly AmigaOS RTG game using Picasso96 (P96)/CyberGraphX
and found no way on the Amiga to do graphics higher
then 8-bit. As an old school bare-metal developer I like
to open or incbin my bin/raw files.

1 Infinite Loop Amiga Software
Made for the Amiga, on the Amiga!


Features
========

- Written in 100% assembly (Devpac)
- Supports the following RGB formats

A8R8G8B8 - 4 Byte AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB
R5G5B5   - 2 Byte 0RRRRRGGGGGBBBBB
R5G6B5   - 2 Byte RRRRRGGGGGGBBBBB
R8G8B8   - 3 Byte RRRRRRRRGGGGGGGGBBBBBBBB


Requirements
============

- AmigaOS 3.x
- 68020+


Installation
============

- Copy bmp2bin to c:


Syntax
======

bmp2bin [-r <n>] [-h] [-q] <source> [<destination>]

Options:

 -r <n> Destination file format
        0 - 4 Byte A8R8G8B8 AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB (Default)
        1 - 2 Byte R5G5B5   0RRRRRGGGGGBBBBB
        2 - 2 Byte R5G6B5   RRRRRGGGGGGBBBBB
        3 - 3 Byte R8G8B8   RRRRRRRRGGGGGGGGBBBBBBBB
 -h     Show this help message
 -q     Quiet (Except errors)

Example:

 bmp2bin amiga.bmp
 bmp2bin -r 0 amiga.bmp
 bmp2bin -r 1 -q amiga.bmp amiga.bin

 If destination is not specified default filename is data.bin


To-Do
=====

- Add more rgb formats from Picasso96.i include file



Release notes
=============

Changes for release 0.3 (2026-01-05)

- Added support for R8G8B8
- Added option quiet

Changes for release 0.2 (2025-08-10)

- Added support for destination filename (Optional)
- Added support for R5G6B5

Changes for release 0.1 (2025-08-03)

- This is the first Aminet release


Thanks to
=========

- ElectricDevil
- Swedish User Group Of Amiga (suga.se)


If you like this tool you can donate to SUGA
using PayPal here

https://www.paypal.com/donate/?hosted_button_id=AREKC3DTHDPZL


Contents of gfx/conv/1il-bmp2bin.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                   1606    2932  54.8% -lh5- 7a35 Jan  5 15:42 bmp2bin-0.3/bmp2bin
[Amiga]                   1122    2319  48.4% -lh5- 739d Jan  5 15:29 bmp2bin-0.3/bmp2bin.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    2728    5251  52.0%            Jan  6 23:25
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>