Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-24 | Fix undefined NULL with image support disabled | Rodrigo Arias Mallo | |
2024-11-24 | Add support to read png version | Rodrigo Arias Mallo | |
2024-06-01 | Handle PNG warnings as non-fatal | Rodrigo Arias Mallo | |
The libpng library may emit warnings when decoding a PNG image, which are non-fatal. So far we were handling them as errors and stopping the decoding process, which prevents Dillo from decoding some images. In particular, images that emit the warning: > iCCP: known incorrect sRGB profile Fixes: https://github.com/dillo-browser/dillo/issues/179 Authored-by: dogma | |||
2024-03-09 | Use Doxygen comments for C files | Rodrigo Arias Mallo | |
2014-09-10 | png error handler MSG include URL | corvid | |
2014-06-21 | Ensure png, jpeg and gif decoders don't use DilloImage after set_parms() | Jorge Arellano Cid | |
This allows reuse of the dicache entry after repush changes DilloImage. | |||
2013-06-17 | use gamma value from png files (if available) | Johannes Hofmann | |
2013-06-17 | Corrections of gamma. | Sebastian Geerken | |
2013-06-17 | Added gamma correction value to dw::core::ImgBuf. | Sebastian Geerken | |
2013-01-12 | clean up struct typedefs | p37sitdu, corvid | |
2012-10-05 | clean up png struct | corvid | |
2012-02-15 | unused defines | corvid | |
2011-04-04 | clearer MSG for suspicious image size | corvid | |
I saw a MSG with size 0x[something], and of course I thought it was complaining that a size was given in hex notation. | |||
2010-09-06 | use png_uint_32 for png width and height | corvid | |
For libpng-1.2, png_uint_32 is an unsigned long. For libpng-1.4, it's normally an unsigned int. With 1.4, gcc complained because png_get_IHDR() wants a ptr to whatever a png_uint_32 is, and dillo gave a ptr to an unsigned long. | |||
2010-04-27 | spelling | corvid | |
2010-02-14 | use png_sig_cmp() | corvid | |
It seems that libpng 1.4 got rid of png_check_sig() (http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt) The CHANGES doc that came with my libpng says that it was already obsolete by at least January 1999 (v. 1.0.2a). I checked 1.0.0 from March 98, and it has png_sig_cmp. I checked ummm... 0.89c, I think it was (it was from May 96, in any case), and it did not have it yet. I imagine we can ignore pre-1.0 from more than twelve years ago... | |||
2009-06-29 | use IMAGE_MAX_AREA instead of IMAGE_MAX_W and IMAGE_MAX_H | Johannes Hofmann | |
2009-06-26 | Image size sanity checks (part 1) | Jorge Arellano Cid | |
2009-06-22 | remove system includes | corvid | |
2009-06-19 | Added image size sanity checksrelease-2_1 | Jorge Arellano Cid | |
2009-06-19 | Added a limit for PNG image size | Jorge Arellano Cid | |
2009-05-13 | Silence the last image-debugging messages | Jorge Arellano Cid | |
2009-05-11 | Cleanup: image debugging messages | Jeremy Henty | |
2009-05-08 | Fix a memory leak when stopping an image-decoding process | Jorge Arellano Cid | |
2009-04-23 | Remove unused parameter in a_Dicache_write() | corvid | |
2009-03-09 | needn't include web.hh | corvid | |
2009-03-09 | needn't include prefs.h | corvid | |
2009-01-31 | Minor tricks to avoid a couple compiler warnings in png.c | Jorge Arellano Cid | |
2009-01-31 | Set dicache as MIME dispatcher for image/{gif,jpg,png}. +refactor and cleanups | Jorge Arellano Cid | |
2009-01-14 | Make now-unused debug messages silent. | Jorge Arellano Cid | |
2009-01-09 | Backed out changeset abdae95b1c9e | Johannes Hofmann | |
The optimization was causing crashes. | |||
2009-01-05 | These optimizations are for repeated images in a page. | Jorge Arellano Cid | |
1.- Every repeated cache-served-image is decoded. The patch adds an extra reference to the dicache entry, so only one of them is decoded, and the imgbuf deletion is left to a_Dicache_cleanup. 2.- Every repeated cache-served-image call copyRow for each row. The patch avoids that. This is common with small images (e.g. bullets), but the overhead may be not worth the patch... | |||
2009-01-03 | [mq]: dicache-cleanup7 | Jorge Arellano Cid | |
2009-01-01 | imported patch dicache-cleanup5 | Jorge Arellano Cid | |
2008-12-27 | [mq]: dicache-cleanup1 | Jorge Arellano Cid | |
2008-12-25 | Started code cleanup of the image code mainly in dicache.c. part#1 | Jorge Arellano Cid | |
2008-09-30 | - s/todo:/TODO:/g | jcid | |
2008-09-28 | - Switched from DEBUG_MSG to MSG. | jcid | |
2008-09-14 | - Made several cleanups according to compiler warnings with "-W -Wall". | jcid | |
2008-02-29 | + Added a MSG_WARN to non-png URLs served as png. | jcid | |
2008-01-16 | - Added support for progressive display of progressive jpegs. | jcid | |
- Fixed progressive display of interlaced pngs. | |||
2007-10-07 | Initial revision | jcid | |