summaryrefslogtreecommitdiff
path: root/FL/Fl_GIF_Image.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-09-27 00:27:28 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-09-27 19:22:48 +0200
commit1d847fec00cbcfc82e4864802c2686575101f1ee (patch)
treed5a81cc40859e9ce22f8e5b89c1aed08d0ef17f5 /FL/Fl_GIF_Image.H
parent4075a14715ef1935dd82f49e4d84eea218087dfd (diff)
Fix and improve Fl_GIF_Image (issue #271, #274)
- add error and EOF checks - fix transparent pixel index outside ColorMap (#271) - fix Fl_GIF_Image decoder bug (#274) - add Fl_Image_Reader::skip(unsigned int) - use new skip() method in GIF reader
Diffstat (limited to 'FL/Fl_GIF_Image.H')
-rw-r--r--FL/Fl_GIF_Image.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_GIF_Image.H b/FL/Fl_GIF_Image.H
index 673e9c0a7..274af9a57 100644
--- a/FL/Fl_GIF_Image.H
+++ b/FL/Fl_GIF_Image.H
@@ -1,7 +1,7 @@
//
// GIF image header file for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2020 by Bill Spitzak and others.
+// Copyright 1998-2021 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -31,7 +31,7 @@ class FL_EXPORT Fl_GIF_Image : public Fl_Pixmap {
public:
Fl_GIF_Image(const char* filename);
- Fl_GIF_Image(const char* imagename, const unsigned char *data);
+ Fl_GIF_Image(const char* imagename, const unsigned char *data, const long length = -1);
protected: