xref: /freebsd/contrib/file/magic/Magdir/gimp (revision d38c30c092828f4882ce13b08d0bd3fd6dc7afb5)
1
2#------------------------------------------------------------------------------
3# $File: gimp,v 1.10 2019/10/15 18:19:40 christos Exp $
4# GIMP Gradient: file(1) magic for the GIMP's gradient data files (.ggr)
5# by Federico Mena <federico@nuclecu.unam.mx>
6
70       string/t        GIMP\ Gradient  GIMP gradient data
8#!:mime	text/plain
9!:mime	text/x-gimp-ggr
10!:ext	ggr
11
12# GIMP palette (.gpl)
13# From: Markus Heidelberg <markus.heidelberg@web.de>
140       string/t        GIMP\ Palette   GIMP palette data
15# URL:		https://docs.gimp.org/en/gimp-concepts-palettes.html
16# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Palette
17#!:mime	text/plain
18!:mime	text/x-gimp-gpl
19!:ext	gpl
20
21#------------------------------------------------------------------------------
22# XCF:  file(1) magic for the XCF image format used in the GIMP (.xcf) developed
23#       by Spencer Kimball and Peter Mattis
24#       ('Bucky' LaDieu, nega@vt.edu)
25
26# URL:		https://en.wikipedia.org/wiki/XCF_(file_format)
27# Reference:	https://gitlab.gnome.org/GNOME/gimp/blob/master/devel-docs/xcf.txt
280	string		gimp\ xcf	GIMP XCF image data,
29!:mime	image/x-xcf
30!:ext	xcf
31>9	string		file		version 0,
32>9	string		v		version
33>>10	string		>\0		%s,
34>14	belong		x		%u x
35>18	belong		x		%u,
36>22     belong          0               RGB Color
37>22     belong          1               Greyscale
38>22     belong          2               Indexed Color
39>22	belong		>2		Unknown Image Type.
40
41#------------------------------------------------------------------------------
42# XCF:  file(1) magic for the patterns used in the GIMP (.pat), developed
43#       by Spencer Kimball and Peter Mattis
44#       ('Bucky' LaDieu, nega@vt.edu)
45
46# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Pattern
4720      string          GPAT            GIMP pattern data,
48>24     string          x               %s
49!:mime	image/x-gimp-pat
50!:ext	pat
51
52#------------------------------------------------------------------------------
53# XCF:  file(1) magic for the brushes used in the GIMP (.gbr), developed
54#       by Spencer Kimball and Peter Mattis
55#       ('Bucky' LaDieu, nega@vt.edu)
56
5720      string          GIMP            GIMP brush data
58# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Brush
59!:mime	image/x-gimp-gbr
60# some sources also list gpb
61!:ext	gbr
62
63# From:		Joerg Jenderek
64# URL:		https://docs.gimp.org/en/gimp-using-animated-brushes.html
65# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Animated_Brush
66# share\gimp\2.0\brushes\Legacy\confetti.gih
670	search/21/b	\040ncells:		GIMP animated brush data
68!:mime	image/x-gimp-gih
69!:ext	gih
70
71# GIMP Curves File
72# From: "Nelson A. de Oliveira" <naoliv@gmail.com>
730	string	#\040GIMP\040Curves\040File	GIMP curve file
74#!:mime	text/plain
75!:mime	text/x-gimp-curve
76!:ext	/txt
77
78