Subversion Repositories filter_foundry

Rev

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

Rev Author Line No. Line
2 toby 1
/*
18 toby 2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
192 daniel-mar 3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
206 daniel-mar 4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
2 toby 5
 
6
    This program is free software; you can redistribute it and/or modify
114 dmarschall 7
    it under the terms of the GNU General Public License as published by
2 toby 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
 
114 dmarschall 16
    You should have received a copy of the GNU General Public License
2 toby 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
 
212 daniel-mar 21
// This RC file is for Windows only.
178 dmarschall 22
// The PiPL_body contains the properties which are added to PIPL and RCDATA.
23
// PIPL will additionally receive name, catg and hstm
212 daniel-mar 24
// Attention: This file may only contain 5 properties. If this number changes,
25
//            please also change PiPL.rc
178 dmarschall 26
 
2 toby 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 */
114 dmarschall 29
 
30
#ifdef _WIN64
164 dmarschall 31
    VENDORID, LC(8,6,6,4), NULLID, 12L, "PluginMain\0\0",  /* Entrypoint Name (Long Word padded C String) */
114 dmarschall 32
#else
164 dmarschall 33
    VENDORID, LC(w,x,8,6), NULLID, 12L, "PluginMain\0\0",  /* Entrypoint Name (Long Word padded C String) */
114 dmarschall 34
#endif
35
 
164 dmarschall 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,
212 daniel-mar 38
 
2 toby 39
/* FilterCaseInfo - in all cases:
40
	   inStraightData,
41
	   outStraightData,
42
	   doNotWriteOutsideSelection,
43
	   doesNotFilterLayerMasks,
44
	   worksWithBlankData,
45
	   doNotCopySourceToDestination */
46
VENDORID, LC(f,i,c,i), NULLID, 28L,
97 toby 47
 
212 daniel-mar 48
	/* Filter Case 1: filterCaseFlatImageNoSelection [A background layer or a flat image] */
49
	// inputHandling [Preprocessing actions on the image data] = 01h
50
	// outputHandling [Postprocessing actions on the image data] = 01h
51
	// flags1 [Flags for how the filter case information should be treated] = 03h
52
	//       PIFilterDontCopyToDestinationBit  = true
53
	//       PIFilterWorksWithBlankDataBit     = true
54
	//       PIFilterFiltersLayerMaskBit       = false
55
	//       PIFilterWritesOutsideSelectionBit = false
56
	// flags2 [Reserved] = 00h
57
	"\001\001\003\000",
58
 
59
	/* Filter Case 2: filterCaseFlatImageWithSelection [No transparency data, but a selection may be present] */
60
	// inputHandling [Preprocessing actions on the image data] = 01h
61
	// outputHandling [Postprocessing actions on the image data] = 01h
62
	// flags1 [Flags for how the filter case information should be treated] = 03h
63
	//       PIFilterDontCopyToDestinationBit  = true
64
	//       PIFilterWorksWithBlankDataBit     = true
65
	//       PIFilterFiltersLayerMaskBit       = false
66
	//       PIFilterWritesOutsideSelectionBit = false
67
	// flags2 [Reserved] = 00h
68
	"\001\001\003\000",
69
 
70
	/* Filter Case 3: filterCaseFloatingSelection [Image data with an accompanying mask] */
71
	// inputHandling [Preprocessing actions on the image data] = 01h
72
	// outputHandling [Postprocessing actions on the image data] = 01h
73
	// flags1 [Flags for how the filter case information should be treated] = 03h
74
	//       PIFilterDontCopyToDestinationBit  = true
75
	//       PIFilterWorksWithBlankDataBit     = true
76
	//       PIFilterFiltersLayerMaskBit       = false
77
	//       PIFilterWritesOutsideSelectionBit = false
78
	// flags2 [Reserved] = 00h
79
	"\001\001\003\000",
80
 
81
	/* Filter Case 4: filterCaseEditableTransparencyNoSelection [Layer with transparency editing enabled and no selection] */
82
	// inputHandling [Preprocessing actions on the image data] = 01h
83
	// outputHandling [Postprocessing actions on the image data] = 01h
84
	// flags1 [Flags for how the filter case information should be treated] = 03h
85
	//       PIFilterDontCopyToDestinationBit  = true
86
	//       PIFilterWorksWithBlankDataBit     = true
87
	//       PIFilterFiltersLayerMaskBit       = false
88
	//       PIFilterWritesOutsideSelectionBit = false
89
	// flags2 [Reserved] = 00h
90
	"\001\001\003\000",
91
 
92
	/* Filter Case 5: filterCaseEditableTransparencyWithSelection [Layer with transparency editing enabled and a selection] */
93
	// inputHandling [Preprocessing actions on the image data] = 01h
94
	// outputHandling [Postprocessing actions on the image data] = 01h
95
	// flags1 [Flags for how the filter case information should be treated] = 03h
96
	//       PIFilterDontCopyToDestinationBit  = true
97
	//       PIFilterWorksWithBlankDataBit     = true
98
	//       PIFilterFiltersLayerMaskBit       = false
99
	//       PIFilterWritesOutsideSelectionBit = false
100
	// flags2 [Reserved] = 00h
101
	"\001\001\003\000",
102
 
103
	/* Filter Case 6: filterCaseProtectedTransparencyNoSelection [Layer with transparency editing disabled and no selection] */
104
	// inputHandling [Preprocessing actions on the image data] = 01h
105
	// outputHandling [Postprocessing actions on the image data] = 01h
106
	// flags1 [Flags for how the filter case information should be treated] = 03h
107
	//       PIFilterDontCopyToDestinationBit  = true
108
	//       PIFilterWorksWithBlankDataBit     = true
109
	//       PIFilterFiltersLayerMaskBit       = false
110
	//       PIFilterWritesOutsideSelectionBit = false
111
	// flags2 [Reserved] = 00h
112
	"\001\001\003\000",
113
 
114
	/* Filter Case 7: filterCaseProtectedTransparencyWithSelection [Layer with transparency editing disabled and a selection] */
115
	// inputHandling [Preprocessing actions on the image data] = 01h
116
	// outputHandling [Postprocessing actions on the image data] = 01h
117
	// flags1 [Flags for how the filter case information should be treated] = 03h
118
	//       PIFilterDontCopyToDestinationBit  = true
119
	//       PIFilterWorksWithBlankDataBit     = true
120
	//       PIFilterFiltersLayerMaskBit       = false
121
	//       PIFilterWritesOutsideSelectionBit = false
122
	// flags2 [Reserved] = 00h
123
	"\001\001\003\000",