Subversion Repositories filter_foundry

Rev

Rev 402 | Rev 513 | 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
472 daniel-mar 4
    Copyright (C) 2018-2022 Daniel Marschall, ViaThinkSoft
259 daniel-mar 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
VENDORID, LC(m,o,d,e), NULLID, 4L, /* first 2 bytes:  */ flagSupportsGrayScale|flagSupportsIndexedColor|flagSupportsRGBColor|flagSupportsCMYKColor|flagSupportsHSLColor|flagSupportsHSBColor|flagSupportsMultichannel,
31
                                   /* second 2 bytes: */ flagSupportsDuotone|flagSupportsLABColor,
32
 
33
/* We need this to enable the plugin for BigDocuments */
34
VENDORID, LC(m,s,3,2), 0L, 8L, 2000000L, 2000000L,
35
 
472 daniel-mar 36
 
259 daniel-mar 37
/* FilterCaseInfo - in all cases:
38
	   inStraightData,
39
	   outStraightData,
40
	   doNotWriteOutsideSelection,
41
	   doesNotFilterLayerMasks,
42
	   worksWithBlankData,
43
	   doNotCopySourceToDestination */
44
VENDORID, LC(f,i,c,i), NULLID, 28L,
45
 
46
	/* Filter Case 1: filterCaseFlatImageNoSelection [A background layer or a flat image] */
472 daniel-mar 47
	"\001", // inputHandling [Preprocessing actions on the image data] = 01h (filterDataHandlingNone)
48
	"\001", // outputHandling [Postprocessing actions on the image data] = 01h (filterDataHandlingNone)
49
	"\003", // flags1 [Flags for how the filter case information should be treated] = 03h (in Filter Factory: 00h)
50
	        //       1 PIFilterDontCopyToDestinationBit  = true (in Filter Factory: false)
51
	        //       2 PIFilterWorksWithBlankDataBit     = true (in Filter Factory: false)
52
	        //       4 PIFilterFiltersLayerMaskBit       = false
53
	        //       8 PIFilterWritesOutsideSelectionBit = false
54
	"\000", // flags2 [Reserved] = 00h
259 daniel-mar 55
 
56
	/* Filter Case 2: filterCaseFlatImageWithSelection [No transparency data, but a selection may be present] */
472 daniel-mar 57
	"\001", // inputHandling [Preprocessing actions on the image data] = 01h (filterDataHandlingNone)
58
	"\001", // outputHandling [Postprocessing actions on the image data] = 01h (filterDataHandlingNone)
59
	"\003", // flags1 [Flags for how the filter case information should be treated] = 03h (in Filter Factory: 00h)
60
			//       1 PIFilterDontCopyToDestinationBit  = true (in Filter Factory: false)
61
			//       2 PIFilterWorksWithBlankDataBit     = true (in Filter Factory: false)
62
			//       4 PIFilterFiltersLayerMaskBit       = false
63
			//       8 PIFilterWritesOutsideSelectionBit = false
64
	"\000", // flags2 [Reserved] = 00h
259 daniel-mar 65
 
66
	/* Filter Case 3: filterCaseFloatingSelection [Image data with an accompanying mask] */
472 daniel-mar 67
	"\001", // inputHandling [Preprocessing actions on the image data] = 01h (filterDataHandlingNone, in Filter Factory: 0Ah filterDataHandlingBackgroundZap)
68
	"\001", // outputHandling [Postprocessing actions on the image data] = 01h (filterDataHandlingNone)
69
	"\003", // flags1 [Flags for how the filter case information should be treated] = 03h (in Filter Factory: 00h)
70
			//       1 PIFilterDontCopyToDestinationBit  = true (in Filter Factory: false)
71
			//       2 PIFilterWorksWithBlankDataBit     = true (in Filter Factory: false)
72
			//       4 PIFilterFiltersLayerMaskBit       = false
73
			//       8 PIFilterWritesOutsideSelectionBit = false
74
	"\000", // flags2 [Reserved] = 00h
259 daniel-mar 75
 
76
	/* Filter Case 4: filterCaseEditableTransparencyNoSelection [Layer with transparency editing enabled and no selection] */
472 daniel-mar 77
	"\001", // inputHandling [Preprocessing actions on the image data] = 01h (filterDataHandlingNone, in Filter Factory: 0Ah filterDataHandlingBackgroundZap)
78
	"\001", // outputHandling [Postprocessing actions on the image data] = 01h (filterDataHandlingNone)
79
	"\003", // flags1 [Flags for how the filter case information should be treated] = 03h (in Filter Factory: 02h)
80
			//       1 PIFilterDontCopyToDestinationBit  = true (in Filter Factory: false)
81
			//       2 PIFilterWorksWithBlankDataBit     = true
82
			//       4 PIFilterFiltersLayerMaskBit       = false
83
			//       8 PIFilterWritesOutsideSelectionBit = false
84
	"\000", // flags2 [Reserved] = 00h
259 daniel-mar 85
 
86
	/* Filter Case 5: filterCaseEditableTransparencyWithSelection [Layer with transparency editing enabled and a selection] */
472 daniel-mar 87
	"\001", // inputHandling [Preprocessing actions on the image data] = 01h (filterDataHandlingNone, in Filter Factory: 0Ah filterDataHandlingBackgroundZap)
88
	"\001", // outputHandling [Postprocessing actions on the image data] = 01h (filterDataHandlingNone)
89
	"\003", // flags1 [Flags for how the filter case information should be treated] = 03h (in Filter Factory: 02h)
90
			//       1 PIFilterDontCopyToDestinationBit  = true (in Filter Factory: false)
91
			//       2 PIFilterWorksWithBlankDataBit     = true
92
			//       4 PIFilterFiltersLayerMaskBit       = false
93
			//       8 PIFilterWritesOutsideSelectionBit = false
94
	"\000", // flags2 [Reserved] = 00h
259 daniel-mar 95
 
96
	/* Filter Case 6: filterCaseProtectedTransparencyNoSelection [Layer with transparency editing disabled and no selection] */
472 daniel-mar 97
	"\001", // inputHandling [Preprocessing actions on the image data] = 01h (filterDataHandlingNone, in Filter Factory: 00h filterDataHandlingCantFilter)
98
	"\001", // outputHandling [Postprocessing actions on the image data] = 01h (filterDataHandlingNone, in Filter Factory: 00h filterDataHandlingCantFilter)
99
	"\003", // flags1 [Flags for how the filter case information should be treated] = 03h (in Filter Factory: 00h)
100
			//       1 PIFilterDontCopyToDestinationBit  = true (in Filter Factory: false)
101
			//       2 PIFilterWorksWithBlankDataBit     = true (in Filter Factory: false)
102
			//       4 PIFilterFiltersLayerMaskBit       = false
103
			//       8 PIFilterWritesOutsideSelectionBit = false
104
	"\000", // flags2 [Reserved] = 00h
259 daniel-mar 105
 
106
	/* Filter Case 7: filterCaseProtectedTransparencyWithSelection [Layer with transparency editing disabled and a selection] */
472 daniel-mar 107
	"\001", // inputHandling [Preprocessing actions on the image data] = 01h (filterDataHandlingNone, in Filter Factory: 00h filterDataHandlingCantFilter)
108
	"\001", // outputHandling [Postprocessing actions on the image data] = 01h (filterDataHandlingNone, in Filter Factory: 00h filterDataHandlingCantFilter)
109
	"\003", // flags1 [Flags for how the filter case information should be treated] = 03h (in Filter Factory: 00h)
110
			//       1 PIFilterDontCopyToDestinationBit  = true (in Filter Factory: false)
111
			//       2 PIFilterWorksWithBlankDataBit     = true (in Filter Factory: false)
112
			//       4 PIFilterFiltersLayerMaskBit       = false
113
	        //       8 PIFilterWritesOutsideSelectionBit = false
114
	"\000", // flags2 [Reserved] = 00h