diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-27 21:16:47 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-27 21:16:47 +0000 |
| commit | 3e74cc34ec07df05102ee614790c415908cccc38 (patch) | |
| tree | 2306f54ac30905c726d0e364c547f61bf8a6d7bf /src/Fl_PNM_Image.cxx | |
| parent | acd6bd5cc858284f12e1330d4acd49cad47e7f82 (diff) | |
Add support for TT element.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_PNM_Image.cxx')
| -rw-r--r-- | src/Fl_PNM_Image.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_PNM_Image.cxx b/src/Fl_PNM_Image.cxx index d3dc8b59b..c6de8ba15 100644 --- a/src/Fl_PNM_Image.cxx +++ b/src/Fl_PNM_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_PNM_Image.cxx,v 1.1.2.7 2002/05/25 13:38:24 easysw Exp $" +// "$Id: Fl_PNM_Image.cxx,v 1.1.2.8 2002/05/27 21:16:47 easysw Exp $" // // Fl_PNM_Image routines. // @@ -115,6 +115,8 @@ Fl_PNM_Image::Fl_PNM_Image(const char *name) // I - File to read if (format == 1 || format == 2 || format == 4 || format == 5) d(1); else d(3); +// printf("%s = %dx%dx%d\n", name, w(), h(), d()); + array = new uchar[w() * h() * d()]; // Read the image file... @@ -161,5 +163,5 @@ Fl_PNM_Image::Fl_PNM_Image(const char *name) // I - File to read // -// End of "$Id: Fl_PNM_Image.cxx,v 1.1.2.7 2002/05/25 13:38:24 easysw Exp $". +// End of "$Id: Fl_PNM_Image.cxx,v 1.1.2.8 2002/05/27 21:16:47 easysw Exp $". // |
