summaryrefslogtreecommitdiff
path: root/src/fl_images_core.cxx
AgeCommit message (Collapse)Author
2024-03-11Fix: Filechooser preview of XML file shows it as a corrupt image (#926)ManoloFLTK
2024-03-05 Filechooser preview of XML file shows it as a corrupt image - cont'd (#926)ManoloFLTK
2024-03-04 Fix: Filechooser preview of XML file shows it as a corrupt image (#926)ManoloFLTK
2023-01-21Animated GIF support (Fl_Anim_GIF_Image class) (#375)wcout
2022-12-09New Fl_ICO_Image class to read Windows .ico icon filesManoloFLTK
Many thanks to @darealshinji for contributing all the code for this new FLTK image class (see branch Fl_ICO_Image of https://github.com/darealshinji/fltk).
2021-07-04Remove duplicate BOM check (#247)Albrecht Schlosser
Sorry for the noise, this was a "merge error". Also, fix a typo.
2021-07-03Fix svg image check (#247)Albrecht Schlosser
Thanks to @wcout for pointing out that "<svg\t" is a valid notation. The overall length check (>= 5) is left in place intentionally.
2021-07-03Check for valid length and simplify BOM check (#247)Albrecht Schlosser
2021-07-03Fix for issue #247 : loading SVG image with BOM.ManoloFLTK
2021-04-28Fix "Fl_Shared_Image: use of unitialized data" (#216)Albrecht Schlosser
- fix issue as proposed - fix more potential access to uninitialized data issues - document Fl_Shared_Image::add_handler() - document typedef Fl_Shared_Image::Fl_Shared_Handler()
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-06-27Add classes Fl_SVG_File_Surface and Fl_EPS_File_Surface to draw to SVG and EPS.ManoloFLTK
Test programs device and pixmap_browser use these new classes. Class Fl_SVG_File_Surface can be optionally made non functional using the --disable-svg configure option or turning off OPTION_USE_SVG in CMake. Class Fl_EPS_File_Surface can be optionally made non functional using the --disable-print configure option or turning off OPTION_PRINT_SUPPORT in CMake.
2020-06-15Fix overly restrictive JPEG filter (#81)Albrecht Schlosser
See https://github.com/fltk/fltk/issues/81 Fixes #81
2020-01-30New public static variable bool Fl_Image::register_images_doneManoloFLTK
Allows an app to detect whether fl_register_images() was called or not.
2018-06-23Doxygen only: fixed all block comments starting with an asterisk to ↵Matthias Melcher
space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15Rename fl_open_ext() parameter 'translation' to 'binary'.Albrecht Schlosser
The default (0) is 'text' mode, non-zero is 'binary' mode on platforms that distinguish text and binary mode. Currently Windows is the only supported platform that needs this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-13Remove the Fl_SVG_Image::fl_gzopen() member function that is less useful ↵Manolo Gouy
with the new fl_open_ext() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-05Fix name clash with zlib gzopen on (64-bit) Linux.Albrecht Schlosser
Compilation error message: src/Fl_SVG_Image.cxx:80:21: error: out-of-line definition of 'gzopen64' does not match any declaration in 'Fl_SVG_Image'; did you mean 'gzopen'? void* Fl_SVG_Image::gzopen(const char *fname) { ^~~~~~ gzopen /usr/include/zlib.h:1709:20: note: expanded from macro 'gzopen' # define gzopen gzopen64 ^ The culprit was the macro defined in zlib.h (above). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-04Fl_SVG_Image class: add support for compressed .svgz image files.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-04Undo commit at r.12475 that is not adequate.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-04Fl_SVG_Image class: add support for compressed .svgz image files.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-03Add new Fl_SVG_Image class to support scalable vector graphics images using ↵Manolo Gouy
the (modified) nanosvg software. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14Made fl_register_images() seen by Doxygen.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed Copyright in 'src' directoryMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20Fix all compiler warnings from various build systems.Michael R Sweet
Fix vsnprintf() implementation to properly handle long and long long ints. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18Allow non-JFIF JPEG images.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16Update source file headers with STR web page.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24Copyright updates.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11Copyright updates and prep for 1.1.5rc1.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30Copyright update for 1.1.3 release (not quite yet, but soon...)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-17Add support for XV/GIMP thumbnail format (P7)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09Move the rest of the image file formats (except for XBM and XPM) toMichael R Sweet
the fltk_images library; saves about 16k in the FLTK core library on my Intel system. Fix a memory leak bug in most of the fl_set_fonts*.cxx implementations; as a result, the Fl_Fontdesc structure now has a fontname member to old the human-readable font name. Lots of fixes for shadowed variables, etc. Use snprintf, strlcpy, and strlcat in more places. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-29Small changes to make Metrowerks CodeWarrior for Windows work.Matthias Melcher
See seperate posting with CodeWarrior project file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28Add missing file.Michael R Sweet
Update dependencies. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121