home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15425 < prev    next >
Encoding:
Text File  |  1992-09-13  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!dxcern!dxcern!a-giles
  3. From: a-giles@uchicago.edu (Aaron Giles)
  4. Subject: Re: JPEG <-> JFIF with QT.
  5. In-Reply-To: tgl+@cs.cmu.edu's message of 13 Sep 92 04:48:56 GMT
  6. Message-ID: <A-GILES.92Sep14005034@shift2.uchicago.edu>
  7. Sender: news@dxcern.cern.ch (USENET News System)
  8. Reply-To: a-giles@uchicago.edu
  9. Organization: University of Chicago High Energy Physics
  10. References: <mackid-280892211810@toysrus.engin.umich.edu.>
  11.     <1992Sep4.173121.10616@waikato.ac.nz> <BuI2pL.92z.2@cs.cmu.edu>
  12. Date: Sun, 13 Sep 1992 23:50:34 GMT
  13. Lines: 20
  14.  
  15. In article <BuI2pL.92z.2@cs.cmu.edu> tgl+@cs.cmu.edu (Tom Lane) writes:
  16.  
  17. > mackid@engin.umich.edu (Mike Neil) says:
  18. > > the data portion that is returned from a
  19. > > CompressImage call is in the JFIF format (Someone give the QT guys another
  20. > > cookie).  So basically you can read a JFIF file into memory pass it into
  21. > > the DecompressImage call (You will need to make a Info block by hand).
  22. > > and you will get a decompressed image out.  Very Cool.
  23.  
  24. > I don't recall offhand whether QT makes a true JFIF file (complete with JFIF
  25. > marker) or just a "raw JPEG" file.  Either way, though, the information is
  26. > compatible with non-Mac JFIF/JPEG programs.  The JFIF marker is considered
  27. > optional by most non-Mac decoders; it really just certifies that the file
  28. > adheres to the JFIF conventions about colorspace.
  29.  
  30. Actually, QT *does* include the JFIF marker and in fact produces a
  31. perfectly acceptable JFIF output, not simply a JFIF-compatible output.
  32.  
  33. Aaron Giles
  34. a-giles@uchicago.edu
  35.