home *** CD-ROM | disk | FTP | other *** search
- Path: news.doit.wisc.edu!news
- From: innuendo@yar.cs.wisc.edu (Jonathan Gapen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Datatype write method?
- Date: 25 Jan 1996 01:55:44 GMT
- Organization: esCom Amiga Madison Enthusiast's Organisation
- Message-ID: <4e6nv0$2gmc@news.doit.wisc.edu>
- References: <4e0gm0$jt@serpens.rhein.de> <1379.6596T851T762@Redrobe.demon.co.uk>
- NNTP-Posting-Host: f180-098.net.wisc.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-NewsSoftware: GRn 2.1 Feb 19, 1994
-
-
- In article <1379.6596T851T762@Redrobe.demon.co.uk> Mike@Redrobe.demon.co.uk (Mike) writes:
- >
- > >>No chance to make a subclass (e.g. WAVE datatype) save its data in WAVE
- > >>format, sigh.
- >
- > >For what reason ?
- >
- > for use on other computers?
- > haven't seen many 8svx players on Windoze...
-
- If you used the wav.datatype to load a WAVE file, why do you need to save
- in WAVE format?! Seems pretty silly to me.
- Actually, I'd speculate that this is the reason why no DataType subclasses
- have implemented a write method. Why save in the same format you just
- loaded? With most classes, it's a wasted effort, and with certain classes
- like the jfif.datatype, you'd end up with an 8 bit image re-encoded into a
- JPEG file, losing a lot of quality.
- Of course, these days when we have programs like Voodoo, it may be useful
- to save into the original format, because the data came in via e-mail, and we
- would like to save it in its native format. And further, if somebody updates
- the datatypes.library to allow programs to save data into another like format,
- a full DTM_WRITE method would be very handy.
-
- --
- Jonathan Gapen (innuendo@yar.cs.wisc.edu)
- Bread in, toast out. How does it DO that?
-