|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-10-26 10:07 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
[2016-10-26 10:07 UTC] cmb@php.net
[2016-10-26 10:07 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2016-11-03 10:49 UTC] jgeert1 at its dot jnj dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 14:00:01 2025 UTC |
Description: ------------ I'm using PHP version 5.5.38 (64-bit) on Windows and I'm unable to use the imagecreatefromstring or imagecreatefromjpeg functions. I always get NULL as a result while I expected a image resource id or false (if it would fail). I've run phpinfo and noticed that GD is full supported. I checked all logfiles, eventlogs, but I couldn't find any errors. I tried it with several jpg-files (small, medium, large), bit I was unable to load them with the functions. The memory limit is set to 2048, so that can't be the issue. Any idea what's missing here? Test script: --------------- $image = imagecreatefromjpeg('photo.jpg'); var_dump($image); Expected result: ---------------- false or a image resource Actual result: -------------- NULL