Patch attached.

Adam Buchbinder
Author: Adam Buchbinder <[email protected]>
Description: Add Foveon X3F support. (Closes: #516800)

diff -Naurp file.orig/magic/Magdir/images file/magic/Magdir/images
--- file.orig/magic/Magdir/images	2009-02-20 10:43:12.000000000 -0500
+++ file/magic/Magdir/images	2009-02-23 13:32:27.000000000 -0500
@@ -610,3 +610,15 @@
 # URL:	http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?view=markup
 # From:	Mathias Brodala <[email protected]>
 0	string	Xcur	X11 cursor
+
+# Type: Foveon X3F
+# URL:  http://www.photofo.com/downloads/x3f-raw-format.pdf
+# From: Adam Buchbinder <[email protected]>
+# Note that the MIME type isn't defined anywhere that I can find; if
+# there's a canonical type for this format, it should replace this one.
+0	string	FOVb	Foveon X3F raw image data
+!:mime	image/x-x3f
+>6	leshort	x	\b, version %d.
+>4	leshort	x	\b%d
+>28	lelong	x	\b, %dx
+>32	lelong	x	\b%d

Reply via email to