]> granicus.if.org Git - php/commit
- add a weak/tolerant mode to the jpeg loader
authorPierre Joye <pajoye@php.net>
Thu, 2 Feb 2006 20:30:54 +0000 (20:30 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 2 Feb 2006 20:30:54 +0000 (20:30 +0000)
commitbc436e2fd3a86d4d0dcf1ba2f6eea1c7977a3975
treee1162e3c23ef03be91830940af2a5e123c393780
parent9f628d10f6a3e99da3fbd7115fa1a3c253aae41c
- add a weak/tolerant mode to the jpeg loader
 * new INI option to enable it (off by default)
   gd.jpeg_ignore_warning (0|1)
 * The default mode is the current behavior
 * if the warning mode is enabled, the image may be loaded succesfully
   but the jpeg warnings will be raise as notices
ext/gd/gd.c
ext/gd/libgd/gd.h
ext/gd/libgd/gd_jpeg.c