Subversion Repositories filter_foundry

Rev

Rev 520 | 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
536 daniel-mar 3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
259 daniel-mar 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
Kind { Filter },
22
Version { (latestFilterVersion << 16) | latestFilterSubVersion },
520 daniel-mar 23
Priority { 0 }, /* default */
259 daniel-mar 24
 
25
SupportedModes {
26
	noBitmap,
27
	doesSupportGrayScale,
520 daniel-mar 28
	noIndexedColor, /* changed in 1.7.0.17, since it probably never worked */
259 daniel-mar 29
	doesSupportRGBColor,
30
	doesSupportCMYKColor,
31
	doesSupportHSLColor,
32
	doesSupportHSBColor,
33
	doesSupportMultichannel,
34
	doesSupportDuotone,
35
	doesSupportLABColor
36
},
37
 
520 daniel-mar 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
 
259 daniel-mar 56
FilterCaseInfo {
57
	{
58
	/* filterCaseFlatImageNoSelection */
59
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
60
	/* filterCaseFlatImageWithSelection */
61
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
62
	/* filterCaseFloatingSelection */
63
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
64
	/* filterCaseEditableTransparencyNoSelection */
65
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
66
	/* filterCaseEditableTransparencyWithSelection */
67
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
68
	/* filterCaseProtectedTransparencyNoSelection */
69
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
70
	/* filterCaseProtectedTransparencyWithSelection */
71
	inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination,
72
	}
73
},