/* This file is part of WebPFormat, a File Format plugin for Adobe Photoshop Copyright (C) 2010-2013 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 "PIResDefines.h" #include "ui_defs.h" #include "version.h" #define LC(a,b,c,d) #d, #c, #b, #a #define VENDORID LC(8,B,I,M) #define NULLID 0L 16000 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 13L, /* Property Count */ VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,I,F), /* File Format module */ VENDORID, LC(v,e,r,s), NULLID, 4L, latestFormatSubVersion,latestFormatVersion, /* Version Number */ VENDORID, LC(n,a,m,e), NULLID, 5L, "\004WebP\0\0\0", /* PString */ #ifdef _WIN64 VENDORID, LC(8,6,6,4), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ #else VENDORID, LC(w,x,8,6), NULLID, 11L, "PluginMain\0\0", #endif VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsRGBColor,0, VENDORID, LC(e,n,b,l), NULLID, 84L, "PSHOP_ImageMode == RGBMode" " && PSHOP_ImageWidth < 16384 && PSHOP_ImageHeight < 16384\0", /* Long Word padded C String */ VENDORID, LC(R,d,E,x), NULLID, 8L, "WEBP","WBP ", VENDORID, LC(W,r,E,x), NULLID, 4L, "WEBP", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x30,0, VENDORID, LC(m,x,s,z), NULLID, 4L, 16383,16383, VENDORID, LC(m,x,c,h), NULLID, 2L, 3,0 VENDORID, LC(f,m,i,p), NULLID, 2L, 0x20,0, VENDORID, LC(h,s,t,m), NULLID, 33L, /* = 14 + sizeof(c string incl nul) */ 0L, /* version */ RC_plugInClassID, /* Class ID, always required. Can be Suite ID. */ RC_plugInEventID, /* Event ID, or typeNULL if not Filter/Color Picker/Selection. */ AETE_ID, /* Dictionary ('AETE') resource ID. */ "Google WebP Format\0\0", /* Unique scope string, C format, long padded. */ 0L /* extra padding */ END 16001 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 12L, /* Property Count */ VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,I,F), /* File Format module */ VENDORID, LC(v,e,r,s), NULLID, 4L, latestFormatSubVersion,latestFormatVersion, /* Version Number */ VENDORID, LC(n,a,m,e), NULLID, 14L, "\015WebP Lossless\0\0", /* PString */ #ifdef _WIN64 VENDORID, LC(8,6,6,4), NULLID, 19L, "PluginMainLossless\0\0", /* Entrypoint Name (Long Word padded C String) */ #else VENDORID, LC(w,x,8,6), NULLID, 19L, "PluginMainLossless\0\0", #endif VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsRGBColor,0, VENDORID, LC(e,n,b,l), NULLID, 84L, "PSHOP_ImageMode == RGBMode" " && PSHOP_ImageWidth < 16384 && PSHOP_ImageHeight < 16384\0", /* Long Word padded C String */ VENDORID, LC(W,r,E,x), NULLID, 4L, "WEBP", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x14,0, VENDORID, LC(m,x,s,z), NULLID, 4L, 16383,16383, VENDORID, LC(m,x,c,h), NULLID, 2L, 3,0 VENDORID, LC(f,m,i,p), NULLID, 2L, 0x20,0, VENDORID, LC(h,s,t,m), NULLID, 42L, /* = 14 + sizeof(c string incl nul) */ 0L, /* version */ RC_plugInLosslessClassID, /* Class ID, always required. Can be Suite ID. */ RC_plugInEventID, /* Event ID, or typeNULL if not Filter/Color Picker/Selection. */ AETE_LOSSLESS_ID, /* Dictionary ('AETE') resource ID. */ "Google WebP Lossless Format\0", /* Unique scope string, C format, long padded. */ 0L /* extra padding */ END #include "scripting.rc" #include "ui_win.rc" #include "version.rc"