home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / formats / kodycc / spec / ycc.txt
Text File  |  1994-06-20  |  1KB  |  29 lines

  1. This is an excerpt from code that contains a commented listing
  2. of the contents of the Kodak YCC file format.  See the code
  3. subdirectory in this directory for the full code example.
  4.  
  5. *     The format for the output file is a monochrome ICC file,
  6. *     padded to 8-pixel in the column or x direction.
  7. *
  8. *     The format for the "ICC" header is:
  9. *
  10. *          Magic Number (5965600)          4 bytes
  11. *          Header Length                   4 bytes
  12. *          Extraneous data                 (Header Length -4) bytes
  13. *          Image File header length        4 bytes
  14. *          Header + data length            4 bytes
  15. *          Logical File Name              16 bytes 
  16. *          File Type (7)                   4 bytes
  17. *          Extraneous data                 8 bytes
  18. *          Image X Size                    4 bytes
  19. *          Image Y Size                    4 bytes
  20. *          Extraneous data                12 bytes
  21. *          Plane Count                     4 bytes
  22. *          Extraneous data                 8 bytes
  23. *          Extraneous data                 n bytes
  24. *          RED DATA (X_SIZE * Y_SIZE bytes)
  25. *          GREEN DATA (X_SIZE * Y_SIZE bytes) if needed
  26. *          BLUE DATA (X_SIZE * Y_SIZE bytes) if needed
  27. *
  28. *
  29.