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

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Datatype write method?
  5. Date: 24 Jan 1996 23:21:04 +0100
  6. Organization: dis-
  7. Message-ID: <4e6bcg$agm@serpens.rhein.de>
  8. References: <4e0gm0$jt@serpens.rhein.de> <1379.6596T851T762@Redrobe.demon.co.uk>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. Mike@Redrobe.demon.co.uk (Mike) writes:
  12.  
  13. >Load GIF ..select save
  14.  
  15. >The image is then saved as GIF (if GIF.datatype supports DTM_WRITE) ...
  16. >                        or IFF (if it doesn't (usual))
  17.  
  18. That's what happens now.
  19.  
  20. >What It should do IMHO ;) is to present you with a list of formats
  21. >(datatypes that support DTM_WRITE) to save into.
  22.  
  23. That's not really a datatypes problem. For this to work you have to create
  24. a second datatypes object and pass it the data (BitMap, etc..) from the
  25. first. Then tell the second object to save the data.
  26.  
  27. The only problem is to get a list of datatypes.
  28.  
  29. >>>No chance to make a subclass (e.g. WAVE datatype) save its data in WAVE
  30. >>>format, sigh.
  31.  
  32. >>For what reason ?
  33.  
  34. >for use on other computers?
  35.  
  36. I meant why is there no chance to make a subclass that saves its data in
  37. WAVE format ?
  38.  
  39. -- 
  40.                                 Michael van Elst
  41.  
  42. Internet: mlelstv@serpens.rhein.de
  43.                                 "A potential Snark may lurk in every tree."
  44.