note 94500 added to function.imagecreatefromjpeg

From: Date: Mon, 09 Nov 2009 06:58:57 +0000
Subject: note 94500 added to function.imagecreatefromjpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-162655@lists.php.net to get a copy of this message
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 ---- Server IP: 92.48.119.85 Probable Submitter: 201.82.79.145 ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php Edit -- https://master.php.net/note/edit/94500 Del: integrated -- https://master.php.net/note/delete/94500/integrated Del: useless -- https://master.php.net/note/delete/94500/useless Del: bad code -- https://master.php.net/note/delete/94500/bad+code Del: spam -- https://master.php.net/note/delete/94500/spam Del: non-english -- https://master.php.net/note/delete/94500/non-english Del: in docs -- https://master.php.net/note/delete/94500/in+docs Del: other reasons-- https://master.php.net/note/delete/94500 Reject -- https://master.php.net/note/reject/94500 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162655) next »