summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPNG.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor: fix code indentationdkf2016-04-041-1/+1
|
* [c648c8dad1] Repair PNG reader buffer overflow protections that preventeddgp2015-09-231-4/+8
| | | read of valid PNG image.
* [dece631375] Prevent PNG Reader writing to memory beyond end of photo imagedgp2015-05-151-3/+7
| | | block.
* Use assertion to prevent writing pixel lines beyond end of Photo image block.dgp2015-05-151-0/+3
|
* [06c3fcb136] ImgGetPhoto() had some code misplaced in an earlier commitdgp2015-05-051-1/+1
| | | | | so that it failed to tell all callers when the alpha channel was fully opaque. This triggered another bug in the PNG writer where the alpha vs. non-alpha format choice was broken and confused, leading to corrupt png image files.
* Fix [c0cc9fd153]: PNG parser does not support uppercase format string (using ↵jan.nijtmans2013-10-311-14/+11
| | | | -format)
* more places convertedjan.nijtmans2013-01-241-1/+1
|
* Merge core-8-5-branchjan.nijtmans2013-01-241-4/+4
| | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* eliminate use of deprecated Tcl_SaveResult APIjan.nijtmans2013-01-201-12/+7
|
* minor improvements to flag handlingdkf2012-07-311-1/+1
|
* Much more cleaning up of result handling.dkf2012-07-231-94/+120
|
* Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-34/+83
| | | ** WORK IN PROGRESS **
* * generic/tkImgPNG.c (WriteExtraChunks): [Bug 3405839]: Write the sDATdkf2011-09-271-1/+18
| | | chunk with the correct length.
* Purge RCS Keywordsdgp2011-06-081-2/+0
|
* Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-3/+2
| | | using useful casts internally.
* * generic/tkImgPNG.c (ReadIDAT, DecodePNG): Move the check for overalldkf2010-04-251-12/+15
| | | | | | termination of the compressed stream until after the final IDAT has been read, so that multi-segment images will work right. Reported by Andy Goth on the Wiki.
* * generic/tkImgPNG.c (WriteIDAT): [Bug 2984787]: Use the correctdkf2010-04-121-3/+90
| | | | | | | | | | flushing semantics when handling the last data from the image. Without this, many PNG readers (notably including Firefox) refuse to show the image and instead complain about errors. (ReadIDAT): Added sanity checks to ensure that when we've got bad data of the sorts of forms we were previously generating, we detect it and error out rather than silently failing. (WriteExtraChunks): New function to write in some basic metadata.
* Make more internal tables "const"nijtmans2010-02-051-2/+2
| | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
* fix more gcc warnings: missing initializernijtmans2010-01-181-2/+3
| | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* cast away a warning.patthoyts2009-01-061-2/+2
|
* Applied Michael Kirkham's fix to make all PngSuite images work.dkf2008-12-281-3/+2
|
* Implementation of TIP #244, PNG image support.dkf2008-12-281-0/+3381