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

gfx/conv/pconv2raw.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:Datatype gfx to RAW chunky data converter
Author: gallanonim86857 at gmail.com (pisklak)
Uploader:gallanonim86857 gmail com (pisklak)
Type:gfx/conv
Version:0.5,4
Architecture:m68k-amigaos
Date:2025-10-29
Requires:AOS2, datatypes
Distribution:Aminet
Download:gfx/conv/pconv2raw.lha - View contents
Readme:gfx/conv/pconv2raw.readme
Downloads:40

Simple CLI converter that use datatypes and can convert data to RAW chunky.
Can convert into 8-32bit raw chunky gfx data (also in PC pixel modes).

Usage: pconv2raw SourceFile/A PS=PixelSize/N o=DestinationFile

PixelSize defines destination pixel format. Possible values are:
8   - LUT8 pixels
16  - RGB16 565 (default output setting)
161 - RGB16PC 
24  - RGB24 
241 - BGR24
32  - ARGB32 
321 - BGRA32
		   
Usage of ADOS wildcards are possible,for example conversion of all png files
in current directory into 32bit ARGB32 data is:
pconv2raw #?.png 32
All new created files will have oryginal file name plus .RAW extension
("picturexyz.png.RAW") and in file comment wil be saved information about gfx
dimmensions and pixel format
In bit 8 conversion case palette file will be created (with .pal extension). 
Simple .pal format where colors are defined in longwords and data is stored in 
order of bytes col_number,R,G,B value.

8 bit conversion have some problems, but kind of works.
WIP (currently on hold) but I think in usefull state program.		   
		   
The program was created as a by-product of playing with the AmigaE (EVO)
language and learning how to program the AOS3 system :)

LICENSE ETC...
PUBLIC DOMAIN :)

The author has made every effort to ensure that the use of the program is safe
but he provides it in the "as is" form, not taking responsibility for any damage 
resulting from the use, etc.....
P.S. It would be nice if the author receives an email from the user in case of 
finding it useful :) 


Contents of gfx/conv/pconv2raw.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                   4581    9248  49.5% -lh5- 2733 Oct 28 13:53 pconv2raw
[Amiga]                    980    1803  54.4% -lh5- d014 Oct 28 13:53 pconv2raw.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    5561   11051  50.3%            Oct 29 00:28
Page generated in 0.06 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>