cups 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #------------------------------------------------------------------------------
  2. # $File: cups,v 1.2 2012/11/02 21:50:29 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. 0 name cups-be
  8. >280 lelong x \b, %d
  9. >284 lelong x \bx%d dpi
  10. >376 lelong x \b, %dx
  11. >380 lelong x \b%d pixels
  12. >388 lelong x %d bits/color
  13. >392 lelong x %d bits/pixel
  14. >400 lelong 0 ColorOrder=Chunky
  15. >400 lelong 1 ColorOrder=Banded
  16. >400 lelong 2 ColorOrder=Planar
  17. >404 lelong 0 ColorSpace=gray
  18. >404 lelong 1 ColorSpace=RGB
  19. >404 lelong 2 ColorSpace=RGBA
  20. >404 lelong 3 ColorSpace=black
  21. >404 lelong 4 ColorSpace=CMY
  22. >404 lelong 5 ColorSpace=YMC
  23. >404 lelong 6 ColorSpace=CMYK
  24. >404 lelong 7 ColorSpace=YMCK
  25. >404 lelong 8 ColorSpace=KCMY
  26. >404 lelong 9 ColorSpace=KCMYcm
  27. >404 lelong 10 ColorSpace=GMCK
  28. >404 lelong 11 ColorSpace=GMCS
  29. >404 lelong 12 ColorSpace=WHITE
  30. >404 lelong 13 ColorSpace=GOLD
  31. >404 lelong 14 ColorSpace=SILVER
  32. >404 lelong 15 ColorSpace=CIE XYZ
  33. >404 lelong 16 ColorSpace=CIE Lab
  34. >404 lelong 17 ColorSpace=RGBW
  35. >404 lelong 18 ColorSpace=sGray
  36. >404 lelong 19 ColorSpace=sRGB
  37. >404 lelong 20 ColorSpace=AdobeRGB
  38. # Cups Raster image format, Big Endian
  39. 0 string RaS
  40. >3 string t Cups Raster version 1, Big Endian
  41. >3 string 2 Cups Raster version 2, Big Endian
  42. >3 string 3 Cups Raster version 3, Big Endian
  43. !:mime application/vnd.cups-raster
  44. >0 use ^cups-be
  45. # Cups Raster image format, Little Endian
  46. 1 string SaR
  47. >0 string t Cups Raster version 1, Little Endian
  48. >0 string 2 Cups Raster version 2, Little Endian
  49. >0 string 3 Cups Raster version 3, Little Endian
  50. !:mime application/vnd.cups-raster
  51. >0 use \^cups-be