note 83387 added to function.imagecreatefromstring
| From: | Mikasto at osu1 dot php dot net | Date: | Fri, 23 May 2008 10:51:22 +0000 |
| Subject: | note 83387 added to function.imagecreatefromstring | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-139637@lists.php.net to get a copy of this message | ||
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..
----
Server IP: 195.54.192.44
Probable Submitter: 127.0.0.1
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatefromstring.php
Edit -- https://master.php.net/note/edit/83387
Del: integrated -- https://master.php.net/note/delete/83387/integrated
Del: useless -- https://master.php.net/note/delete/83387/useless
Del: bad code -- https://master.php.net/note/delete/83387/bad+code
Del: spam -- https://master.php.net/note/delete/83387/spam
Del: non-english -- https://master.php.net/note/delete/83387/non-english
Del: in docs -- https://master.php.net/note/delete/83387/in+docs
Del: other reasons-- https://master.php.net/note/delete/83387
Reject -- https://master.php.net/note/reject/83387
Search -- https://master.php.net/manage/user-notes.php