home *** CD-ROM | disk | FTP | other *** search
/ Compressed Image File Formats / CompressedImageFileFormatsJohnMiano.iso / pc / Library / include / imagetyp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-08  |  933 b   |  39 lines

  1. #ifndef __IMAGETYP_H
  2. #define __IMAGETYP_H
  3. //
  4. // Copyright (c) 1997,1998 Colosseum Builders, Inc.
  5. // All rights reserved.
  6. //
  7. // Colosseum Builders, Inc. makes no warranty, expressed or implied
  8. // with regards to this software. It is provided as is.
  9. //
  10. // See the README.TXT file that came with this software for restrictions
  11. // on the use and redistribution of this file or send E-mail to
  12. // info@colosseumbuilders.com
  13. //
  14.  
  15. //
  16. //  Title:  Graphics Type Definitions
  17. //
  18. //  Author:  John M. Miano  miano@colosseumbuilders.com
  19. //
  20.  
  21. #include "bitimage.h"
  22.  
  23. enum ImageType
  24. {
  25.   UnknownImage=0,
  26.   BmpImage = 2,
  27.   JpegImage = 3,
  28.   PngImage = 7,
  29. } ;
  30.  
  31.  
  32. extern ImageType GetStreamImageType (std::istream &) ;
  33. extern ImageType ReadImage (std::istream &strm,
  34.                             BitmapImage &image,
  35.                             PROGRESSFUNCTION function,
  36.                             void *data) ;
  37.  
  38. #endif
  39.