/* This file is part of SGI Format, a File Format plugin for Adobe Photoshop Copyright (C) 2003-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 */ /* 24-Sep-2003: commenced, 0.1b1 released 27-Sep-2003: 0.2b2 - read 16 bit/channel images; 68K build 27-Sep-2003: 0.2b3 - more robust error handling 28-Sep-2003: 0.2b4 - remove sprintf calls which seem to crash Carbon version??? 28-Sep-2003: 0.3b1 - write support 28-Sep-2003: 0.3b3 - change malloc/free to NewPtr/DisposePtr to try to avoid Carbon crashes 29-Sep-2003: 0.3b4 - various small fixes 30-Sep-2003: 0.3b5 - fix PiPL for 68K to include deep modes 11-Oct-2003: 1.0b1 - narrow read Mode selection to only Grey Scale or RGB (never Multichannel) 12-Oct-2003: 1.0b2 - RLE expand, pass datum count as long, not unsigned! 23-Oct-2003: 1.0f1 - fix PiPL with maximum channel counts (thanks Nick Bates!) 13-Dec-2003: 1.1b1 - add dialog box for compression options (per David Stinnett) 20-Feb-2004: 1.2b1 - deal with LittleEndian (nonstandard) header (per Blair Burtan) 02-Feb-2005: add Win VERSIONINFO 16-Apr-2005: 1.2b2 - add .INT and .INTA extensions used by MultiGen Creator for intensity (grayscale) textures (per Brede Johansen) 06-Jun-2005: 1.2b3 - oops, fix Windows PiPL count to include 'mxch' property (thanks again Brede) 22-Aug-2005: 1.2b5 - Mach-O (CS2/Mac) build 30-Apr-2007: 1.3b1 - Mach-O Universal (CS3/Mac PPC+Intel) build 01-May-2007: 1.4b1,2 - scriptability (per Clemens Kinder) 03-May-2007: - last kink out of Win32 terminology resource 03-Mar-2009: 1.4b3 - test build with Visual Studio C++ 2008 Express Edition 06-Jun-2009: 1.5b1 - 64-bit Windows build 12-May-2010: 1.6b1,2,3,4 - CS5/Mac build (requested by Nicola S.) 25-May-2010: 1.6b5 - fix scripting, saving problems where RLE format was not preserved */ #define VERSION_STR "1.6b5" #define VERSION_NUM 1,0x60,beta,5 // development = 0x20, alpha = 0x40, beta = 0x60, final = 0x80 #define VERS_RSRC VERSION_NUM,verAustralia,VERSION_STR,"SGI Format " VERSION_STR #define COPYRIGHT "Copyright (C) 2003-2010 Toby Thain, toby@telegraphics.com.au - www.telegraphics.com.au/sw" /* formatted for Win32 VERSIONINFO resource */ #define VI_VERS_NUM 1,6,0x60,5 #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 ' '