Subversion Repositories filter_foundry

Rev

Rev 243 | Rev 402 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
259 daniel-mar 1
/*
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
5
 
6
    This program is free software; you can redistribute it and/or modify
7
    it under the terms of the GNU General Public License as published by
8
    the Free Software Foundation; either version 2 of the License, or
9
    (at your option) any later version.
10
 
11
    This program is distributed in the hope that it will be useful,
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
    GNU General Public License for more details.
15
 
16
    You should have received a copy of the GNU General Public License
17
    along with this program; if not, write to the Free Software
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
*/
20
 
21
// This RC file is for Windows only.
22
// The PiPL_body contains the properties which are added to PIPL and TPLT (PIPL-Template).
23
// PIPL will additionally receive name, catg and hstm
24
// Attention: This file may only contain 5 properties. If this number changes,
25
//            please also change PiPL.rc
26
 
27
VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,F,M),	/* Filter module */
28
VENDORID, LC(v,e,r,s), NULLID, 4L, latestFilterSubVersion,latestFilterVersion, /* Version Number */
29
 
30
#ifdef _WIN64
31
    VENDORID, LC(8,6,6,4), NULLID, 12L, "PluginMain\0\0",  /* Entrypoint Name (Long Word padded C String) */
32
#else
33
    VENDORID, LC(w,x,8,6), NULLID, 12L, "PluginMain\0\0",  /* Entrypoint Name (Long Word padded C String) */
34
#endif
35
 
36
VENDORID, LC(m,o,d,e), NULLID, 4L, /* first 2 bytes:  */ flagSupportsGrayScale|flagSupportsIndexedColor|flagSupportsRGBColor|flagSupportsCMYKColor|flagSupportsHSLColor|flagSupportsHSBColor|flagSupportsMultichannel,
37
                                   /* second 2 bytes: */ flagSupportsDuotone|flagSupportsLABColor,
38
 
39
/* We need this to enable the plugin for BigDocuments */
40
VENDORID, LC(m,s,3,2), 0L, 8L, 2000000L, 2000000L,
41
 
42
/* FilterCaseInfo - in all cases:
43
	   inStraightData,
44
	   outStraightData,
45
	   doNotWriteOutsideSelection,
46
	   doesNotFilterLayerMasks,
47
	   worksWithBlankData,
48
	   doNotCopySourceToDestination */
49
VENDORID, LC(f,i,c,i), NULLID, 28L,
50
 
51
	/* Filter Case 1: filterCaseFlatImageNoSelection [A background layer or a flat image] */
52
	// inputHandling [Preprocessing actions on the image data] = 01h
53
	// outputHandling [Postprocessing actions on the image data] = 01h
54
	// flags1 [Flags for how the filter case information should be treated] = 03h
55
	//       PIFilterDontCopyToDestinationBit  = true
56
	//       PIFilterWorksWithBlankDataBit     = true
57
	//       PIFilterFiltersLayerMaskBit       = false
58
	//       PIFilterWritesOutsideSelectionBit = false
59
	// flags2 [Reserved] = 00h
60
	"\001\001\003\000",
61
 
62
	/* Filter Case 2: filterCaseFlatImageWithSelection [No transparency data, but a selection may be present] */
63
	// inputHandling [Preprocessing actions on the image data] = 01h
64
	// outputHandling [Postprocessing actions on the image data] = 01h
65
	// flags1 [Flags for how the filter case information should be treated] = 03h
66
	//       PIFilterDontCopyToDestinationBit  = true
67
	//       PIFilterWorksWithBlankDataBit     = true
68
	//       PIFilterFiltersLayerMaskBit       = false
69
	//       PIFilterWritesOutsideSelectionBit = false
70
	// flags2 [Reserved] = 00h
71
	"\001\001\003\000",
72
 
73
	/* Filter Case 3: filterCaseFloatingSelection [Image data with an accompanying mask] */
74
	// inputHandling [Preprocessing actions on the image data] = 01h
75
	// outputHandling [Postprocessing actions on the image data] = 01h
76
	// flags1 [Flags for how the filter case information should be treated] = 03h
77
	//       PIFilterDontCopyToDestinationBit  = true
78
	//       PIFilterWorksWithBlankDataBit     = true
79
	//       PIFilterFiltersLayerMaskBit       = false
80
	//       PIFilterWritesOutsideSelectionBit = false
81
	// flags2 [Reserved] = 00h
82
	"\001\001\003\000",
83
 
84
	/* Filter Case 4: filterCaseEditableTransparencyNoSelection [Layer with transparency editing enabled and no selection] */
85
	// inputHandling [Preprocessing actions on the image data] = 01h
86
	// outputHandling [Postprocessing actions on the image data] = 01h
87
	// flags1 [Flags for how the filter case information should be treated] = 03h
88
	//       PIFilterDontCopyToDestinationBit  = true
89
	//       PIFilterWorksWithBlankDataBit     = true
90
	//       PIFilterFiltersLayerMaskBit       = false
91
	//       PIFilterWritesOutsideSelectionBit = false
92
	// flags2 [Reserved] = 00h
93
	"\001\001\003\000",
94
 
95
	/* Filter Case 5: filterCaseEditableTransparencyWithSelection [Layer with transparency editing enabled and a selection] */
96
	// inputHandling [Preprocessing actions on the image data] = 01h
97
	// outputHandling [Postprocessing actions on the image data] = 01h
98
	// flags1 [Flags for how the filter case information should be treated] = 03h
99
	//       PIFilterDontCopyToDestinationBit  = true
100
	//       PIFilterWorksWithBlankDataBit     = true
101
	//       PIFilterFiltersLayerMaskBit       = false
102
	//       PIFilterWritesOutsideSelectionBit = false
103
	// flags2 [Reserved] = 00h
104
	"\001\001\003\000",
105
 
106
	/* Filter Case 6: filterCaseProtectedTransparencyNoSelection [Layer with transparency editing disabled and no selection] */
107
	// inputHandling [Preprocessing actions on the image data] = 01h
108
	// outputHandling [Postprocessing actions on the image data] = 01h
109
	// flags1 [Flags for how the filter case information should be treated] = 03h
110
	//       PIFilterDontCopyToDestinationBit  = true
111
	//       PIFilterWorksWithBlankDataBit     = true
112
	//       PIFilterFiltersLayerMaskBit       = false
113
	//       PIFilterWritesOutsideSelectionBit = false
114
	// flags2 [Reserved] = 00h
115
	"\001\001\003\000",
116
 
117
	/* Filter Case 7: filterCaseProtectedTransparencyWithSelection [Layer with transparency editing disabled and a selection] */
118
	// inputHandling [Preprocessing actions on the image data] = 01h
119
	// outputHandling [Postprocessing actions on the image data] = 01h
120
	// flags1 [Flags for how the filter case information should be treated] = 03h
121
	//       PIFilterDontCopyToDestinationBit  = true
122
	//       PIFilterWorksWithBlankDataBit     = true
123
	//       PIFilterFiltersLayerMaskBit       = false
124
	//       PIFilterWritesOutsideSelectionBit = false
125
	// flags2 [Reserved] = 00h
126
	"\001\001\003\000",