cups 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #------------------------------------------------------------------------------
  2. # $File: cups,v 1.1 2011/11/10 18:59:54 christos Exp $
  3. # Cups: file(1) magic for the cups raster file format
  4. # From: Laurent Martelli <martellilaurent@gmail.com>
  5. # http://www.cups.org/documentation.php/spec-raster.html
  6. #
  7. # Cups Raster image format, Big Endian
  8. 0 string RaS
  9. !:mime application/vnd.cups-raster
  10. >3 string t Cups Raster version 1, Big Endian
  11. >3 string 2 Cups Raster version 2, Big Endian
  12. >3 string 3 Cups Raster version 3, Big Endian
  13. >280 belong x \b, %d
  14. >284 belong x \bx%d dpi
  15. >376 belong x \b, %dx
  16. >380 belong x \b%d pixels
  17. >388 belong x %d bits/color
  18. >392 belong x %d bits/pixel
  19. >400 belong 0 ColorOrder=Chunky
  20. >400 belong 1 ColorOrder=Banded
  21. >400 belong 2 ColorOrder=Planar
  22. >404 belong 0 ColorSpace=gray
  23. >404 belong 1 ColorSpace=RGB
  24. >404 belong 2 ColorSpace=RGBA
  25. >404 belong 3 ColorSpace=black
  26. >404 belong 4 ColorSpace=CMY
  27. >404 belong 5 ColorSpace=YMC
  28. >404 belong 6 ColorSpace=CMYK
  29. >404 belong 7 ColorSpace=YMCK
  30. >404 belong 8 ColorSpace=KCMY
  31. >404 belong 9 ColorSpace=KCMYcm
  32. >404 belong 10 ColorSpace=GMCK
  33. >404 belong 11 ColorSpace=GMCS
  34. >404 belong 12 ColorSpace=WHITE
  35. >404 belong 13 ColorSpace=GOLD
  36. >404 belong 14 ColorSpace=SILVER
  37. >404 belong 15 ColorSpace=CIE XYZ
  38. >404 belong 16 ColorSpace=CIE Lab
  39. >404 belong 17 ColorSpace=RGBW
  40. >404 belong 18 ColorSpace=sGray
  41. >404 belong 19 ColorSpace=sRGB
  42. >404 belong 20 ColorSpace=AdobeRGB
  43. # Cups Raster image format, Little Endian
  44. 1 string SaR
  45. >0 string t Cups Raster version 1, Little Endian
  46. >0 string 2 Cups Raster version 2, Little Endian
  47. >0 string 3 Cups Raster version 3, Little Endian
  48. !:mime application/vnd.cups-raster
  49. >280 lelong x \b, %d
  50. >284 lelong x \bx%d dpi
  51. >376 lelong x \b, %dx
  52. >380 lelong x \b%d pixels
  53. >388 lelong x %d bits/color
  54. >392 lelong x %d bits/pixel
  55. >400 lelong 0 ColorOrder=Chunky
  56. >400 lelong 1 ColorOrder=Banded
  57. >400 lelong 2 ColorOrder=Planar
  58. >404 lelong 0 ColorSpace=gray
  59. >404 lelong 1 ColorSpace=RGB
  60. >404 lelong 2 ColorSpace=RGBA
  61. >404 lelong 3 ColorSpace=black
  62. >404 lelong 4 ColorSpace=CMY
  63. >404 lelong 5 ColorSpace=YMC
  64. >404 lelong 6 ColorSpace=CMYK
  65. >404 lelong 7 ColorSpace=YMCK
  66. >404 lelong 8 ColorSpace=KCMY
  67. >404 lelong 9 ColorSpace=KCMYcm
  68. >404 lelong 10 ColorSpace=GMCK
  69. >404 lelong 11 ColorSpace=GMCS
  70. >404 lelong 12 ColorSpace=WHITE
  71. >404 lelong 13 ColorSpace=GOLD
  72. >404 lelong 14 ColorSpace=SILVER
  73. >404 lelong 15 ColorSpace=CIE XYZ
  74. >404 lelong 16 ColorSpace=CIE Lab
  75. >404 lelong 17 ColorSpace=RGBW
  76. >404 lelong 18 ColorSpace=sGray
  77. >404 lelong 19 ColorSpace=sRGB
  78. >404 lelong 20 ColorSpace=AdobeRGB