note 94500 deleted from function.imagecreatefromjpeg by cmb
| From: | cmb@php.net | Date: | Sun, 11 Dec 2016 11:14:38 +0000 |
| Subject: | note 94500 deleted from function.imagecreatefromjpeg by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208500@lists.php.net to get a copy of this message | ||
Note Submitter: v1d4l0k4 at gmail.com
----
As of PHP 5.1.3, if you are dealing with corrupted JPEG images you should set the
'gd.jpeg_ignore_warning' directive to 1 to ignore warnings that could mess up your code.
In runtime, you should do this:
<?php
ini_set('gd.jpeg_ignore_warning', 1);
?>
Regards,
Paulo Ricardo