/* This file is part of Netpbm Formats, a File Format plugin for Adobe Photoshop Copyright (C) 2004-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 "../PhotoshopAPI/Photoshop/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 /* 2nd byte of mode flags */ #define flagSupportsGray16 0x2000 #define flagSupportsRGB48 0x1000 #define flagSupportsLab48 0x0800 #define flagSupportsCMYK64 0x0400 #define flagSupportsDeepMultichannel 0x0200 #define flagSupportsDuotone16 0x0100 16000 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 9L, /* 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, /* override bundled PBM plugin */ VENDORID, LC(n,a,m,e), NULLID, 4L, "\003PBM", /* PString */ VENDORID, LC(w,x,8,6), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsBitmap,0, VENDORID, LC(R,d,E,x), NULLID, 4L, "PBM ", VENDORID, LC(W,r,E,x), NULLID, 4L, "PBM ", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x30,0 /* fmtCanRead|fmtCanWrite */ END 16001 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 9L, /* 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, /* override bundled PBM plugin */ VENDORID, LC(n,a,m,e), NULLID, 4L, "\003PGM", /* PString */ VENDORID, LC(w,x,8,6), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsGrayScale|flagSupportsMultichannel|flagSupportsGray16|flagSupportsDeepMultichannel,0, VENDORID, LC(R,d,E,x), NULLID, 4L, "PGM ", VENDORID, LC(W,r,E,x), NULLID, 4L, "PGM ", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x30,0 /* fmtCanRead|fmtCanWrite */ END 16002 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 10L, /* 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, /* override bundled PBM plugin */ VENDORID, LC(n,a,m,e), NULLID, 4L, "\003PPM", /* PString */ VENDORID, LC(w,x,8,6), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsRGBColor|flagSupportsRGB48,0, VENDORID, LC(R,d,E,x), NULLID, 4L, "PPM ", VENDORID, LC(W,r,E,x), NULLID, 4L, "PPM ", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x30,0, /* fmtCanRead|fmtCanWrite */ VENDORID, LC(m,x,c,h), NULLID, 8L, 0,0,0,3 END 16003 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 7L, /* 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, /* override bundled PBM plugin */ VENDORID, LC(n,a,m,e), NULLID, 4L, "\003PNM", /* PString */ VENDORID, LC(w,x,8,6), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ VENDORID, LC(R,d,E,x), NULLID, 4L, "PNM ", VENDORID, LC(f,m,t,f), NULLID, 2L, 0x20,0 /* fmtCanRead */ 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", "Netpbm Formats plugin for Photoshop(R)\0" VALUE "FileVersion", VERSION_STR "\0" VALUE "InternalName", "NetpbmFormats\0" VALUE "LegalCopyright", "Copyright (C) 2004-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", "NetpbmFormats.8bi\0" /*VALUE "PrivateBuild", "\0"*/ VALUE "ProductName", "Netpbm Formats\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