note 83387 deleted from function.imagecreatefromstring by nlopess
| From: | nlopess@php.net | Date: | Fri, 23 May 2008 13:48:38 +0000 |
| Subject: | note 83387 deleted from function.imagecreatefromstring by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139641@lists.php.net to get a copy of this message | ||
Note Submitter: Mikasto
----
If you get error like "gd-png: fatal libpng error".
I use reading PNG-file by fsockopen(), header "GET url_of_png_file_on_server HTTP/1.1" and
fgets(), next I use imagecreatefromstring() function or imagecreatefrompng(). Sometimes were errors
like:
gd-png: fatal libpng error ..... invalid chunk
But using curl library to download file not gives me errors!
May be fgets() gives not correct data..