Hey people. imagecreatefromjpeg all the sudden stopped working, any ideas? Could it be related to some update?
Error:
<b>Fatal error</b>: Call to undefined function: imagecreatefromjpeg() in ...
PHP Code:
<?
Header("Content-type: image/jpeg");
$imagepath = "images/set_21.jpg";
$im = imagecreatefromjpeg($imagepath);
$tc = imagecolorclosest ($im, 0, 0, 0);
## imagettftext ( int im, int size, int angle, int x, int y, int col, string fontfile, string text)
imagettftext ($im, 12, 0, 1, 18, $tc, "jami.ttf", "".$desc_line1."\n\r".$desc_line2."\n\r".$desc_line3."\n\r".$desc_line4."\n\r".$desc_line5."\n\r".$desc_line6."\n\r".$desc_line7."");
imagejpeg($im,'',50);
?><b>Fatal error</b>: Call to undefined function: imagecreatefromjpeg() in ...

Comment