Logo by Nickman (anonymous IP: 18.217.104.170,2260) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1013) Graphics (501) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4402 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
This small shell utility converts 8-bit BMPs to 'C' code accepted by Reaction's penmap.image. Keep in mind that only 8-bit images are handled now. It should be enough for placing small logos in your Reaction Windows. The utility was tested with BMPs written by: Amiga/PersonalPaint, Win/Paint, Win/IrfanView. There is slightly modified source code of "PenMapExample.c" demo included in the archive. The original code of this demo is taken from SDK/Examples/Reaction/OS4Examples. The source code shows how to use the code generated by this utility. Let's assume that we want to convert image "boing.bmp" (it is also in the archive). In the shell we have to go to the "demo" folder and type: /bmp2penamp boing.bmp img.c It creates file "img.c". Now we have to compile "PenMapExample.c". It may be done, with: gcc -o PenMapExample PenMapExample.c -lauto -lraauto Run the executable, resize window and enjoy your eyes, hopefully. -- AmiZaP |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |