Short: Converts pictures into RAW (ARGB/RGB/...) files
Author: email@example.com (Christian Rosentreter)
Uploader: firstname.lastname@example.org (Christian Rosentreter)
Copyright © 2004,2007 Christian Rosentreter.
All rights reserved.
-- Intro ----
dt2raw converts any picture format (when a datatype for
it is installed) to a number of RAW formats. Probably only
required by programmers who want to integrate picture data
directly into program binaries or special designed data
files. It can be useful in combination with some packer bz2,
z, rle, etc. and bin2c (which is available on my home page
too, see below).
-- Usage ----
Source file. Basically any high/true colour
picture format is supported when a working datatype
for it is installed. CLUT (palette based) pictures
are not supported.
Destination RAW file. Default is 32bit ARGB format,
but other formats can be specified by FORMAT
parameter, see below.
No check will be made if an older file might be
This keyword requires one of
ARGB - 32bit (AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB)
RGBA - 32bit (RRRRRRRRGGGGGGGGBBBBBBBBAAAAAAAA)
RGB - 24bit (RRRRRRRRGGGGGGGGBBBBBBBB)
BGR - 24bit (BBBBBBBBGGGGGGGGRRRRRRRR)
ALPHA - 8bit (AAAAAAAA)
RED - 8bit (RRRRRRRR)
GREEN - 8bit (GGGGGGGG)
BLUE - 8bit (BBBBBBBB)
Other formats could easily be supported, when required/
-- History ---
1.0 (31.10.04) - first release
1.1 (04.10.07) - cosmetics
1.2 (30.12.07) - clear colour values when alpha is 0
- added support for RGBA and BGR formats
-- Acknowledgement ----
Thanx to Michal 'kiero' Wozniak and Harry 'piru' Sintonen.
-- Disclaimer ----
This software is provided "AS IS" with no warranties of any
kind. Use at your own risk. It works for me. I needed it,
maybe it's useful for someone else too. Short: it's Freeware.
-- Credits, Contact ----
tokai @ http://www.christianrosentreter.com/