Subversion Repositories filter_foundry

Rev

Rev 259 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 259 Rev 520
1
/*
1
/*
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
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
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
5
 
5
 
6
    This program is free software; you can redistribute it and/or modify
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  
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
8
    the Free Software Foundation; either version 2 of the License, or
9
    (at your option) any later version.
9
    (at your option) any later version.
10
 
10
 
11
    This program is distributed in the hope that it will be useful,
11
    This program is distributed in the hope that it will be useful,
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
    GNU General Public License for more details.
14
    GNU General Public License for more details.
15
 
15
 
16
    You should have received a copy of the GNU General Public License  
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
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
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
*/
19
*/
20
 
20
 
21
Kind { Filter },
21
Kind { Filter },
22
Version { (latestFilterVersion << 16) | latestFilterSubVersion },
22
Version { (latestFilterVersion << 16) | latestFilterSubVersion },
-
 
23
Priority { 0 }, /* default */
23
 
24
 
24
SupportedModes {
25
SupportedModes {
25
	noBitmap,
26
	noBitmap,
26
	doesSupportGrayScale,
27
	doesSupportGrayScale,
27
	doesSupportIndexedColor,
28
	noIndexedColor, /* changed in 1.7.0.17, since it probably never worked */
28
	doesSupportRGBColor,
29
	doesSupportRGBColor,
29
	doesSupportCMYKColor,
30
	doesSupportCMYKColor,
30
	doesSupportHSLColor,
31
	doesSupportHSLColor,
31
	doesSupportHSBColor,
32
	doesSupportHSBColor,
32
	doesSupportMultichannel,
33
	doesSupportMultichannel,
33
	doesSupportDuotone,
34
	doesSupportDuotone,
34
	doesSupportLABColor
35
	doesSupportLABColor
35
},
36
},
36
 
37
 
-
 
38
/* We need this to enable the plugin for BigDocuments */
-
 
39
PlugInMaxSize { 2000000L, 2000000L },
-
 
40
 
-
 
41
/* Commented out, because there is a risk that a badly programmed host will think that '    '!='8BIM' and does not load the plugin then?! */
-
 
42
//RequiredHost { ANY },
-
 
43
 
-
 
44
/* "FilterLayerSupport" (Allows smart filters) */
-
 
45
/* TODO: It seems to work, but are we really fully supporting Smart Filters?! */
-
 
46
FilterLayerSupport { 0x80L },
-
 
47
 
-
 
48
/* Enable info */
-
 
49
/* "Plug-in Resource Guide.pdf", pages 61-62 */
-
 
50
EnableInfo { "in (PSHOP_ImageMode, GrayScaleMode, RGBMode, CMYKMode, HSLMode, HSBMode, MultichannelMode, DuotoneMode, LabMode)" },
-
 
51
 
-
 
52
/* MonitorScalingAware */
-
 
53
/* TODO: Do we support it? For now, commented out */
-
 
54
//MonitorScalingAware { 1 },
-
 
55
 
37
FilterCaseInfo {
56
FilterCaseInfo {
38
	{
57
	{
39
	/* filterCaseFlatImageNoSelection */
58
	/* filterCaseFlatImageNoSelection */
40
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
59
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
41
	/* filterCaseFlatImageWithSelection */
60
	/* filterCaseFlatImageWithSelection */
42
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
61
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
43
	/* filterCaseFloatingSelection */
62
	/* filterCaseFloatingSelection */
44
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
63
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
45
	/* filterCaseEditableTransparencyNoSelection */
64
	/* filterCaseEditableTransparencyNoSelection */
46
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
65
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
47
	/* filterCaseEditableTransparencyWithSelection */
66
	/* filterCaseEditableTransparencyWithSelection */
48
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
67
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
49
	/* filterCaseProtectedTransparencyNoSelection */
68
	/* filterCaseProtectedTransparencyNoSelection */
50
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
69
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
51
	/* filterCaseProtectedTransparencyWithSelection */
70
	/* filterCaseProtectedTransparencyWithSelection */
52
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
71
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
53
	}
72
	}
54
},
73
},