summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/gimp
blob: e763cbec83a9cff8ebe5ef9966d9204291f68e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#------------------------------------------------------------------------------
# $File: gimp,v 1.10 2019/10/15 18:19:40 christos Exp $
# GIMP Gradient: file(1) magic for the GIMP's gradient data files (.ggr)
# by Federico Mena <federico@nuclecu.unam.mx>

0       string/t        GIMP\ Gradient  GIMP gradient data
#!:mime	text/plain
!:mime	text/x-gimp-ggr
!:ext	ggr

# GIMP palette (.gpl)
# From: Markus Heidelberg <markus.heidelberg@web.de>
0       string/t        GIMP\ Palette   GIMP palette data
# URL:		https://docs.gimp.org/en/gimp-concepts-palettes.html
# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Palette
#!:mime	text/plain
!:mime	text/x-gimp-gpl
!:ext	gpl

#------------------------------------------------------------------------------
# XCF:  file(1) magic for the XCF image format used in the GIMP (.xcf) developed
#       by Spencer Kimball and Peter Mattis
#       ('Bucky' LaDieu, nega@vt.edu)

# URL:		https://en.wikipedia.org/wiki/XCF_(file_format)
# Reference:	https://gitlab.gnome.org/GNOME/gimp/blob/master/devel-docs/xcf.txt
0	string		gimp\ xcf	GIMP XCF image data,
!:mime	image/x-xcf
!:ext	xcf
>9	string		file		version 0,
>9	string		v		version
>>10	string		>\0		%s,
>14	belong		x		%u x
>18	belong		x		%u,
>22     belong          0               RGB Color
>22     belong          1               Greyscale
>22     belong          2               Indexed Color
>22	belong		>2		Unknown Image Type.

#------------------------------------------------------------------------------
# XCF:  file(1) magic for the patterns used in the GIMP (.pat), developed
#       by Spencer Kimball and Peter Mattis
#       ('Bucky' LaDieu, nega@vt.edu)

# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Pattern
20      string          GPAT            GIMP pattern data,
>24     string          x               %s
!:mime	image/x-gimp-pat
!:ext	pat

#------------------------------------------------------------------------------
# XCF:  file(1) magic for the brushes used in the GIMP (.gbr), developed
#       by Spencer Kimball and Peter Mattis
#       ('Bucky' LaDieu, nega@vt.edu)

20      string          GIMP            GIMP brush data
# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Brush
!:mime	image/x-gimp-gbr
# some sources also list gpb
!:ext	gbr

# From:		Joerg Jenderek
# URL:		https://docs.gimp.org/en/gimp-using-animated-brushes.html
# Reference:	http://fileformats.archiveteam.org/wiki/GIMP_Animated_Brush
# share\gimp\2.0\brushes\Legacy\confetti.gih
0	search/21/b	\040ncells:		GIMP animated brush data
!:mime	image/x-gimp-gih
!:ext	gih

# GIMP Curves File
# From: "Nelson A. de Oliveira" <naoliv@gmail.com>
0	string	#\040GIMP\040Curves\040File	GIMP curve file
#!:mime	text/plain
!:mime	text/x-gimp-curve
!:ext	/txt