home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 706 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

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