1 // 2 // "$Id$" 3 // 4 // PNM image header file for the Fast Light Tool Kit (FLTK). 5 // 6 // Copyright 1998-2010 by Bill Spitzak and others. 7 // 8 // This library is free software. Distribution and use rights are outlined in 9 // the file "COPYING" which should have been included with this file. If this 10 // file is missing or damaged, see the license at: 11 // 12 // http://www.fltk.org/COPYING.php 13 // 14 // Please report all bugs and problems on the following page: 15 // 16 // http://www.fltk.org/str.php 17 // 18 19 /* \file 20 Fl_PNM_Image class . */ 21 22 #ifndef Fl_PNM_Image_H 23 #define Fl_PNM_Image_H 24 # include "Fl_Image.H" 25 26 /** 27 The Fl_PNM_Image class supports loading, caching, 28 and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class 29 loads bitmap, grayscale, and full-color images in both ASCII and 30 binary formats. 31 */ 32 class FL_EXPORT Fl_PNM_Image : public Fl_RGB_Image { 33 34 public: 35 36 Fl_PNM_Image(const char* filename); 37 }; 38 39 #endif 40 41 // 42 // End of "$Id$". 43 // 44