home *** CD-ROM | disk | FTP | other *** search
- Path: cville-srv.wam.umd.edu!walrus
- From: walrus@wam.umd.edu (Udo K Schuermann)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Images for Gadgets from DPaintIV ?
- Date: 10 Jan 1996 18:18:16 GMT
- Organization: University of Maryland, College Park
- Message-ID: <4d0vt8$6ou@cville-srv.wam.umd.edu>
- References: <4crb30$7ut@bcarh8ab.bnr.ca> <4cro00$7gn@senator-bedfellow.MIT.EDU> <DKx8sw.3Lz@cee.hw.ac.uk> <19960109.7B85AF8.15290@sdcc8.ucsd.edu>
- NNTP-Posting-Host: rac6.wam.umd.edu
-
- In article <19960109.7B85AF8.15290@sdcc8.ucsd.edu>,
- Jeremy Friesner <jfriesne@ucsd.edu> wrote:
- >
- >In article <DKx8sw.3Lz@cee.hw.ac.uk> ceerm@cee.hw.ac.uk (Rod MacLean) writes:
- >> Rob Hounsell (hounsell@bnr.ca) wrote:
- >
- >> > According to my Intuition programming manual, generating an image for a
- >> > gadget requires some tedious creation of the image structure. Is there any way
- >> > I can convert a brush generated by DPaintIV into the required image format?
- >>
- >> You need to convert a brush to C source code. (You could then compile this).
- >
- >Try CITAS 2.0, it will convert an IFF to either C or Assembly code.
- >Works great! (Although it won't turn it into an Image struct, but
- >rather a raw data buffer that you can then load in and BltBitMapRastPort()
- >to your display window)
-
- CITAS 2.0 handles 1-4 bitplanes well, but beyond that it is of little use
- unless 6 bitplanes means HAM6 to you, rather than 64 color images. This is
- why I wrote a little tool 'Image2C' that's on the latest Fred Fish CD-ROMs
- and also available from my website (see my sig). Includes source to show
- you how to use iffparse.library to extract information, including optional
- chunks. It's easy to use in Makefiles and quite fast.
-
- |._.|_ Udo Schuermann "The future's not what it used to be!"
- |(:)| ) walrus@wam.umd.edu -- Narn Ambassador G'Kar
- |_:_|/ http://www.wam.umd.edu/~walrus/ Babylon 5, "The Long Dark"
-