/* This file is part of BigPNG, a File Format plugin for Adobe Photoshop(R) Copyright (C) 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 "PIResDefines.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 */ 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(p,r,t,y), NULLID, 4L, 100L, VENDORID, LC(n,a,m,e), NULLID, 8L, "\007Big PNG", /* PString padded to multiple of 4 bytes */ #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", /* Entrypoint Name (Long Word padded C String) */ #endif VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsBitmap|flagSupportsIndexedColor |flagSupportsGrayScale|flagSupportsRGBColor,0, VENDORID, LC(e,n,b,l), NULLID, 92L, "in(PSHOP_ImageMode, BitmapMode, GrayScaleMode, IndexedMode, RGBMode, Gray16Mode, RGB48Mode)\0", /* Long Word padded C String */ VENDORID, LC(R,d,E,x), NULLID, 4L, "PNG ", VENDORID, LC(W,r,E,x), NULLID, 4L, "PNG ", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x34,0, VENDORID, LC(m,s,3,2), NULLID, 8L, 1073741824L,1073741824L, VENDORID, LC(m,x,c,h), NULLID, 24L, 1,2,2,4,0,0,0,0,0,0,2,4 END /* Version info resource see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_Tools_VERSIONINFO_Resource.asp and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/versioninfo_resource.asp */ #include "winver.h" VS_VERSION_INFO VERSIONINFO FILEVERSION VI_VERS_NUM PRODUCTVERSION VI_VERS_NUM FILEFLAGSMASK 0x3fL FILEFLAGS VI_FLAGS FILEOS VOS__WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "04090000" BEGIN VALUE "Comments", VI_COMMENTS VALUE "CompanyName", "Telegraphics Pty Ltd, www.telegraphics.com.au\0" VALUE "FileDescription", "Big PNG plugin for Photoshop(R)\0" VALUE "FileVersion", VERSION_STR "\0" /*VALUE "InternalName", "Big PNG\0"*/ VALUE "LegalCopyright", "Copyright (C) 2010 Toby Thain\0" VALUE "License", "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.\0" /*VALUE "LegalTrademarks", "\0"*/ VALUE "OriginalFilename", "BigPNG.8bi\0" /*VALUE "PrivateBuild", "\0"*/ VALUE "ProductName", "Big PNG\0" VALUE "ProductVersion", VERSION_STR "\0" /*VALUE "SpecialBuild", "\0"*/ END END BLOCK "VarFileInfo" /* see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_tools_VarFileInfo_Block.asp */ BEGIN VALUE "Translation", 0x0809, 1200 /* UK English, Unicode */ END END