/* This file is part of WebPFormat, a File Format plugin for Adobe Photoshop Copyright (C) 2002-2010 Toby Thain, toby@telegraphics.com.au This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "AEUserTermTypes.r" #define MSWindows 0 #include "PIActions.h" #include "PITerminology.h" #include "ui_defs.h" #include "version.h" //------------------------------------------------------------------------------- // Dictionary (scripting) resource //------------------------------------------------------------------------------- resource 'aete' (AETE_ID, "", purgeable) { 1, 0, english, roman, /* aete version and language specifiers */ { /*suites*/ vendorName, /* vendor suite name */ plugInName, /* optional description */ plugInSuiteID, /* suite ID */ 1, /* suite code, must be 1 */ 1, /* suite level, must be 1 */ { /*events*/ }, /* structure for filters */ { /*classes*/ /* non-filter plug-in class here */ "Google WebP Format", /* unique class name */ plugInClassID, /* class ID, must be unique or Suite ID */ "", /* optional description */ { /*properties*/ /* define inheritance */ "", /* name; must be exactly this */ keyInherits, /* ID; must be keyInherits */ classFormat, /* class; parent: Format, Import, Export */ "", /* optional description */ flagsSingleProperty, /* if properties, list below */ "quality", // name of property QUALITY_KEY, // property key ID typeInteger, // property type ID "Encoding quality", // optional description flagsSingleProperty, // property flags "profile", PROFILE_KEY, typeInteger, "Filtering profile", flagsSingleProperty, "denoising", DENOISING_KEY, typeInteger, "De-noising strength", flagsSingleProperty, "sharpness", SHARPNESS_KEY, typeInteger, "Sharpness level", flagsSingleProperty, }, { }, /* elements (not supported) */ }, { }, /* comparison ops (not supported) */ { } /* any enumerations */ } }; resource 'aete' (AETE_LOSSLESS_ID, "", purgeable) { 1, 0, english, roman, /* aete version and language specifiers */ { /*suites*/ vendorName, /* vendor suite name */ plugInLosslessName, /* optional description */ plugInSuiteID, /* suite ID */ 1, /* suite code, must be 1 */ 1, /* suite level, must be 1 */ { /*events*/ }, /* structure for filters */ { /*classes*/ /* non-filter plug-in class here */ "Google WebP Lossless Format", /* unique class name */ plugInLosslessClassID, /* class ID, must be unique or Suite ID */ "", /* optional description */ { /*properties*/ /* define inheritance */ "", /* name; must be exactly this */ keyInherits, /* ID; must be keyInherits */ classFormat, /* class; parent: Format, Import, Export */ "", /* optional description */ flagsSingleProperty, /* if properties, list below */ }, { }, /* elements (not supported) */ }, { }, /* comparison ops (not supported) */ { } /* any enumerations */ } };