/* This file is part of Netpbm Formats, a File Format plugin for Adobe Photoshop Copyright (C) 2004-6 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 */ /* 02-Oct-2004: 0.1b1 begun 05-Oct-2004: 0.2b1 read & write PGM, PPM too (1 & 2 byte formats) 09-Oct-2004: 0.3b1 add Plain format handling for PGM and PPM 09-Oct-2004: 0.4b1 fix memory management to use maxSpace (Prepare); and oops! fix Estimate 0.4b2 fix malloc in write.c 02-Feb-2005: add Win VERSIONINFO 20-Feb-2005: 1.0f1 recognise PNM as readable variant 1.0f2 add DeepMultichannel to Win version (oups) 1.0f3 fix nasty bug, Plain variants not being identified by signature in read_start 1.1b1,2 - fix Plain PGM read failure reported by Tim Horning 1.1b3,4 - Mach-O build 24-Oct-2010: 1.2b1 - update for OS X Intel */ #define VERSION_STR "1.2b1" #define VERSION_NUM 1,0x20,beta,1 #define VERS_RSRC VERSION_NUM,verAustralia,VERSION_STR,"Netpbm Formats " VERSION_STR /* formatted for Win32 VERSIONINFO resource */ #define VI_VERS_NUM 1,2,0,1 #define VI_FLAGS VS_FF_PRERELEASE /* 0 for final, or any of VS_FF_DEBUG,VS_FF_PATCHED,VS_FF_PRERELEASE,VS_FF_PRIVATEBUILD,VS_FF_SPECIALBUILD */ #define VI_COMMENTS "Beta.\r\n\r\nPlease contact support@telegraphics.com.au with any bug reports, suggestions or comments.\0" /* null terminated Comments field */ /* wildcard signature in resources */ #define ANY ' '