home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0040 - 0049 / ibm0040-0049 / ibm0040.tar / ibm0040 / IMGPROC.ZIP / C6TIFF.ZIP / CCITT.C next >
Encoding:
C/C++ Source or Header  |  1989-12-30  |  1.2 KB  |  53 lines

  1. /*
  2.  * Copyright (c) 1988 by Sam Leffler.
  3.  * All rights reserved.
  4.  *
  5.  * This file is provided for unrestricted use provided that this
  6.  * legend is included on all tape media and as a part of the
  7.  * software program in whole or part.  Users may copy, modify or
  8.  * distribute this file at will.
  9.  */
  10.  
  11. /*
  12. CCITT Groups 3 & 4 Facsimile-compatible
  13. Compression Scheme Support.
  14. */
  15.  
  16. #include "tiffio.h"
  17.  
  18. void TIFFInitCCITTFax3(TIFF *tif)
  19. {
  20.  
  21.    TIFFError(tif->tif_name,
  22.             "CCITT Group 3 Facsimile-compatible encoding not supported");
  23. }
  24.  
  25. void TIFFInitCCITTFax4(TIFF *tif)
  26. {
  27.  
  28.    TIFFError(tif->tif_name,
  29.             "CCITT Group 4 facsimile-compatible encoding not supported");
  30. }
  31.  
  32. /*
  33. *
  34. CCITT Group 3 1-D Modified Huffman
  35. Run Length Encoding Compression Support
  36. */
  37.  
  38. CompletionCode TIFFInitCCITTRLE(TIFF *tif)
  39. {
  40.  
  41.    TIFFError(tif->tif_name, "CCITT Group 3 1-Dimensional Modified %s",
  42.             "Huffman run length encoding not supported");
  43.    return (FALSE);
  44. }
  45.  
  46. CompletionCode TIFFInitCCITTRLEW(TIFF *tif)
  47. {
  48.  
  49.    TIFFError(tif->tif_name, "CCITT Group 3 1-Dimensional Modified %s",
  50.         "Huffman run length encoding with word alignment not supported");
  51.    return (FALSE);
  52. }
  53.