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

gfx/conv/1il-bmp2bin.lha

Mirror:Random
Showing: m68k-amigaos icongeneric 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.2
Architecture:m68k-amigaos
Date:2025-08-10
Distribution:Aminet
Download:gfx/conv/1il-bmp2bin.lha - View contents
Readme:gfx/conv/1il-bmp2bin.readme
Downloads:181

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


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

- AmigaOS 3.x
- 68020+


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

- Copy bmp2bin to c:


Syntax
======

bmp2bin [-r RGBFORMAT] [-h] <source> [<destination>]

Options:

  -r RGBFORMAT Destination file format
               0 - 4 Byte A8R8G8B8 AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB (Default)
               1 - 2 Byte R5G5B5   0RRRRRGGGGGBBBBB
               2 - 2 Byte R5G6B5   RRRRRGGGGGGBBBBB
  -h           Show this help message

Example:

  bmp2bin amiga.bmp
  bmp2bin -r 0 amiga.bmp
  bmp2bin -r 0 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
=============

0.2 (2025-08-10)

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

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]                   1578    3076  51.3% -lh5- d197 Aug 10 17:40 bmp2bin-0.2/bmp2bin
[Amiga]                   1052    2103  50.0% -lh5- 8b44 Aug 10 17:42 bmp2bin-0.2/bmp2bin.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    2630    5179  50.8%            Aug 10 22:36
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>