/* 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 */ /* PiMI resource (68K) */ #include "pigeneral.r" #include "version.h" #include "pbm.h" resource 'PiMI' (16000, "PBM", purgeable) { latestFormatVersion, latestFormatSubVersion, 0, supportsBitmap, ANY, { canRead, cannotReadAll, canWrite, canWriteIfRead, doesntSaveResources, /* bm gs ic rg cm hl hb mc du la */ { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 32767,32767, PBM_FILETYPE,'8BIM', { PBM_FILETYPE,ANY }, { 'PBM ' } } }; resource 'PiMI' (16001, "PGM", purgeable) { latestFormatVersion, latestFormatSubVersion, 0, supportsGrayScale, ANY, { canRead, cannotReadAll, canWrite, canWriteIfRead, doesntSaveResources, /* bm gs ic rg cm hl hb mc du la */ { 0,16, 0, 0, 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, 0 }, 32767,32767, PGM_FILETYPE,'8BIM', { PGM_FILETYPE,ANY }, { 'PGM ' } } }; resource 'PiMI' (16002, "PPM", purgeable) { latestFormatVersion, latestFormatSubVersion, 0, supportsRGBColor, ANY, { canRead, cannotReadAll, canWrite, canWriteIfRead, doesntSaveResources, /* bm gs ic rg cm hl hb mc du la */ { 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 32767,32767, PPM_FILETYPE,'8BIM', { PPM_FILETYPE,ANY }, { 'PPM ' } } }; resource 'PiMI' (16003, "PNM", purgeable) { latestFormatVersion, latestFormatSubVersion, 0, 0, ANY, { canRead, cannotReadAll, cannotWrite, cannotWriteIfRead, doesntSaveResources, /* bm gs ic rg cm hl hb mc du la */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 32767,32767, ANY,'8BIM', { }, { 'PNM ' } } };