108ff44c4SLionel Sambuc 208ff44c4SLionel Sambuc#------------------------------------------------------------------------------ 3*0a6a1f1dSLionel Sambuc# $File: cups,v 1.3 2014/05/28 19:50:41 christos Exp $ 408ff44c4SLionel Sambuc# Cups: file(1) magic for the cups raster file format 508ff44c4SLionel Sambuc# From: Laurent Martelli <martellilaurent@gmail.com> 608ff44c4SLionel Sambuc# http://www.cups.org/documentation.php/spec-raster.html 708ff44c4SLionel Sambuc# 808ff44c4SLionel Sambuc 9*0a6a1f1dSLionel Sambuc0 name cups-le 1008ff44c4SLionel Sambuc>280 lelong x \b, %d 1108ff44c4SLionel Sambuc>284 lelong x \bx%d dpi 1208ff44c4SLionel Sambuc>376 lelong x \b, %dx 1308ff44c4SLionel Sambuc>380 lelong x \b%d pixels 1408ff44c4SLionel Sambuc>388 lelong x %d bits/color 1508ff44c4SLionel Sambuc>392 lelong x %d bits/pixel 1608ff44c4SLionel Sambuc>400 lelong 0 ColorOrder=Chunky 1708ff44c4SLionel Sambuc>400 lelong 1 ColorOrder=Banded 1808ff44c4SLionel Sambuc>400 lelong 2 ColorOrder=Planar 1908ff44c4SLionel Sambuc>404 lelong 0 ColorSpace=gray 2008ff44c4SLionel Sambuc>404 lelong 1 ColorSpace=RGB 2108ff44c4SLionel Sambuc>404 lelong 2 ColorSpace=RGBA 2208ff44c4SLionel Sambuc>404 lelong 3 ColorSpace=black 2308ff44c4SLionel Sambuc>404 lelong 4 ColorSpace=CMY 2408ff44c4SLionel Sambuc>404 lelong 5 ColorSpace=YMC 2508ff44c4SLionel Sambuc>404 lelong 6 ColorSpace=CMYK 2608ff44c4SLionel Sambuc>404 lelong 7 ColorSpace=YMCK 2708ff44c4SLionel Sambuc>404 lelong 8 ColorSpace=KCMY 2808ff44c4SLionel Sambuc>404 lelong 9 ColorSpace=KCMYcm 2908ff44c4SLionel Sambuc>404 lelong 10 ColorSpace=GMCK 3008ff44c4SLionel Sambuc>404 lelong 11 ColorSpace=GMCS 3108ff44c4SLionel Sambuc>404 lelong 12 ColorSpace=WHITE 3208ff44c4SLionel Sambuc>404 lelong 13 ColorSpace=GOLD 3308ff44c4SLionel Sambuc>404 lelong 14 ColorSpace=SILVER 3408ff44c4SLionel Sambuc>404 lelong 15 ColorSpace=CIE XYZ 3508ff44c4SLionel Sambuc>404 lelong 16 ColorSpace=CIE Lab 3608ff44c4SLionel Sambuc>404 lelong 17 ColorSpace=RGBW 3708ff44c4SLionel Sambuc>404 lelong 18 ColorSpace=sGray 3808ff44c4SLionel Sambuc>404 lelong 19 ColorSpace=sRGB 3908ff44c4SLionel Sambuc>404 lelong 20 ColorSpace=AdobeRGB 4084d9c625SLionel Sambuc 4184d9c625SLionel Sambuc# Cups Raster image format, Big Endian 4284d9c625SLionel Sambuc0 string RaS 4384d9c625SLionel Sambuc>3 string t Cups Raster version 1, Big Endian 4484d9c625SLionel Sambuc>3 string 2 Cups Raster version 2, Big Endian 4584d9c625SLionel Sambuc>3 string 3 Cups Raster version 3, Big Endian 4684d9c625SLionel Sambuc!:mime application/vnd.cups-raster 47*0a6a1f1dSLionel Sambuc>0 use ^cups-le 4884d9c625SLionel Sambuc 4984d9c625SLionel Sambuc 5084d9c625SLionel Sambuc# Cups Raster image format, Little Endian 5184d9c625SLionel Sambuc1 string SaR 5284d9c625SLionel Sambuc>0 string t Cups Raster version 1, Little Endian 5384d9c625SLionel Sambuc>0 string 2 Cups Raster version 2, Little Endian 5484d9c625SLionel Sambuc>0 string 3 Cups Raster version 3, Little Endian 5584d9c625SLionel Sambuc!:mime application/vnd.cups-raster 56*0a6a1f1dSLionel Sambuc>0 use cups-le 57