summaryrefslogtreecommitdiff
path: root/src/image.cc
AgeCommit message (Collapse)Author
2024-07-27Add SVG support for currentColorRodrigo Arias Mallo
The currentColor special value for the fill and stroke attributes allows an image to follow the same foreground color of the surounding text.
2024-07-26Use FLTK reported DPI for SVG imagesRodrigo Arias Mallo
2024-03-09Use Doxygen comments for C filesRodrigo Arias Mallo
2014-05-14Avoid creation of unnecessary image bufs (at alt-text to img switch)Jorge Arellano Cid
This is the first of a patch series for image code bugs that have severe impact on performance. With these testing files: 1imgA.html = <img src="maj00s.png" alt="img1"> 2imgSA.html = <img src="maj00s.png" alt="img1"> <img src="maj00s.png" alt="img12"> 3imgSA.html = <img src="maj00s.png" alt="img1"> <img src="maj00s.png" alt="img12"> <img src="maj00s.png" alt="img123"> 2imgA.html = <img src="maj00s.png" alt="img1"> <img src="maj21s.png" alt="img12"> 3imgA.html = <img src="maj00s.png" alt="img1"> <img src="maj21s.png" alt="img12"> <img src="c10s.png" alt="img123"> This are the results: .------------------------------------------------------------------. |imgbufs | No patch | Patched #1 | | | first time | upon reload | first time | upon reload | |------------------------------------------------------------------- |1imgA.html | 2 | 1 | 1 | 1 | |2imgSA.html | 3 | 2 | 1 | 2 | |3imgSA.html | 4 | 3 | 1 | 3 | |------------------------------------------------------------------- |2imgA.html | 4 | 2 | 2 | 2 | |3imgA.html | 6 | 3 | 3 | 3 | '------------------------------------------------------------------'
2013-11-29Use img_rndr instead of img_rnd to avoid associating "rnd" suffex with random.Jorge Arellano Cid
2013-11-19Toplevel images work now.Sebastian Geerken
2013-10-22Extended ImgRenderer; new option (in the code) for drawing background images ↵Sebastian Geerken
at once.
2013-09-10Some refactoring: the image decoding code now only accesses ↵Sebastian Geerken
dw::core::ImgRenderer, not dw::Image (which now implements the former) anymore.
2009-06-22remove system includescorvid
2009-05-10Fix a memory leak with DilloImage structuresHofmann Johannes
2009-05-07Cleanup in a_Image_new() signatureJeremy Henty
2009-05-03Removed redundant caller NULL checks already in the APIJeremy Henty
2009-04-28Regression fix: make scaled multiscan images work again.corvid
2009-04-27rm unused a_Image_set_cmapcorvid
2009-01-14Fix: inherit bgcolor from parent widget (images). Also cleanups.Jorge Arellano Cid
2009-01-14Make now-unused debug messages silent.Jorge Arellano Cid
2009-01-03[mq]: dicache-cleanup7Jorge Arellano Cid
2009-01-02imported patch dicache-cleanup6Jorge Arellano Cid
2008-12-29imported patch dicache-cleanup3Jorge Arellano Cid
2008-12-27[mq]: dicache-cleanup1Jorge Arellano Cid
2008-12-25Started code cleanup of the image code mainly in dicache.c. part#1Jorge Arellano Cid
2008-02-08- added flush for bare images and plain text pages.jcid
2008-01-16 - Added support for progressive display of progressive jpegs.jcid
- Fixed progressive display of interlaced pngs.
2007-11-05Updated copyright linesjcid
2007-10-07Initial revisionjcid