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

  1. Path: sdd.hp.com!inn
  2. From: Jeff Grimmett <jgrimm@sdd.hp.com>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Images for Gadgets from DPaintIV ?
  5. Date: 8 Jan 1996 18:13:21 GMT
  6. Organization: Hewlett-Packard Company
  7. Message-ID: <4crms1$lf1@news.sdd.hp.com>
  8. References: <4crb30$7ut@bcarh8ab.bnr.ca>
  9. NNTP-Posting-Host: hpsdv330.sdd.hp.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  14.  
  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. Standard Answer #3: "It depends."  :-)
  22.  
  23. A real kludge this, but it works for certain applications: fire up 
  24. IconEdit (yup, IconEdit).  Doesn't matter what icon you have loaded. Now, 
  25. import an IFF brush into it (you knew you could do this, right?).  Then, 
  26. from the FILE menu, select "SAVE AS C SOURCE" (I think that's the text, 
  27. but at least you know where and what sorta to look for).
  28.  
  29. Caveats: if the size constraints and color constraings and depth 
  30. constraints etc are not matching with your needs, this is useless.  But 
  31. for small little brushes, it works pretty well, with slight modifications 
  32. here and there.  It at least spares you a lot of the grunt work.
  33.  
  34. Jeff
  35.  
  36.  
  37.