Rev 520 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 520 | Rev 536 | ||
---|---|---|---|
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.net |
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 | Priority { 0 }, /* default */ |
24 | 24 | ||
25 | SupportedModes { |
25 | SupportedModes { |
26 | noBitmap, |
26 | noBitmap, |
27 | doesSupportGrayScale, |
27 | doesSupportGrayScale, |
28 | noIndexedColor, /* changed in 1.7.0.17, since it probably never worked */ |
28 | noIndexedColor, /* changed in 1.7.0.17, since it probably never worked */ |
29 | doesSupportRGBColor, |
29 | doesSupportRGBColor, |
30 | doesSupportCMYKColor, |
30 | doesSupportCMYKColor, |
31 | doesSupportHSLColor, |
31 | doesSupportHSLColor, |
32 | doesSupportHSBColor, |
32 | doesSupportHSBColor, |
33 | doesSupportMultichannel, |
33 | doesSupportMultichannel, |
34 | doesSupportDuotone, |
34 | doesSupportDuotone, |
35 | doesSupportLABColor |
35 | doesSupportLABColor |
36 | }, |
36 | }, |
37 | 37 | ||
38 | /* We need this to enable the plugin for BigDocuments */ |
38 | /* We need this to enable the plugin for BigDocuments */ |
39 | PlugInMaxSize { 2000000L, 2000000L }, |
39 | PlugInMaxSize { 2000000L, 2000000L }, |
40 | 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?! */ |
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 }, |
42 | //RequiredHost { ANY }, |
43 | 43 | ||
44 | /* "FilterLayerSupport" (Allows smart filters) */ |
44 | /* "FilterLayerSupport" (Allows smart filters) */ |
45 | /* TODO: It seems to work, but are we really fully supporting Smart Filters?! */ |
45 | /* TODO: It seems to work, but are we really fully supporting Smart Filters?! */ |
46 | FilterLayerSupport { 0x80L }, |
46 | FilterLayerSupport { 0x80L }, |
47 | 47 | ||
48 | /* Enable info */ |
48 | /* Enable info */ |
49 | /* "Plug-in Resource Guide.pdf", pages 61-62 */ |
49 | /* "Plug-in Resource Guide.pdf", pages 61-62 */ |
50 | EnableInfo { "in (PSHOP_ImageMode, GrayScaleMode, RGBMode, CMYKMode, HSLMode, HSBMode, MultichannelMode, DuotoneMode, LabMode)" }, |
50 | EnableInfo { "in (PSHOP_ImageMode, GrayScaleMode, RGBMode, CMYKMode, HSLMode, HSBMode, MultichannelMode, DuotoneMode, LabMode)" }, |
51 | 51 | ||
52 | /* MonitorScalingAware */ |
52 | /* MonitorScalingAware */ |
53 | /* TODO: Do we support it? For now, commented out */ |
53 | /* TODO: Do we support it? For now, commented out */ |
54 | //MonitorScalingAware { 1 }, |
54 | //MonitorScalingAware { 1 }, |
55 | 55 | ||
56 | FilterCaseInfo { |
56 | FilterCaseInfo { |
57 | { |
57 | { |
58 | /* filterCaseFlatImageNoSelection */ |
58 | /* filterCaseFlatImageNoSelection */ |
59 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
59 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
60 | /* filterCaseFlatImageWithSelection */ |
60 | /* filterCaseFlatImageWithSelection */ |
61 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
61 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
62 | /* filterCaseFloatingSelection */ |
62 | /* filterCaseFloatingSelection */ |
63 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
63 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
64 | /* filterCaseEditableTransparencyNoSelection */ |
64 | /* filterCaseEditableTransparencyNoSelection */ |
65 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
65 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
66 | /* filterCaseEditableTransparencyWithSelection */ |
66 | /* filterCaseEditableTransparencyWithSelection */ |
67 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
67 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
68 | /* filterCaseProtectedTransparencyNoSelection */ |
68 | /* filterCaseProtectedTransparencyNoSelection */ |
69 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
69 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
70 | /* filterCaseProtectedTransparencyWithSelection */ |
70 | /* filterCaseProtectedTransparencyWithSelection */ |
71 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
71 | inStraightData, outStraightData, doNotWriteOutsideSelection, doesNotFilterLayerMasks, worksWithBlankData, doNotCopySourceToDestination, |
72 | } |
72 | } |
73 | }, |
73 | }, |