OS4 DepotLogo by Nickman 
(anonymous IP: 3.22.181.209,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Utility » bmp2penmap.lha

Bmp2penmap

Description: BMP to penmap converter
Download: bmp2penmap.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 75kb
Version: 1.0
Date: 16 Apr 07
Author: Piotr Zadora
Submitter: Piotr Zadora
Email: pzap/interia pl
Category: development/utility
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 2710
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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 (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment