Hi all,
i add PhpImageWorkshop as library
use PHPImageWorkshop\ImageWorkshop;
on imageWorkShop file
case 'jpeg': $image = imageCreateFromJPEG($path); break;
case 'gif':
$image = imageCreateFromGIF($path);
break;
case 'png':
$image = imageCreateFromPNG($path);
break;
output:
call to undefined function PhpImageWorkshop/imageCreateFromJPEG()...
as u understand , its searching imageCreateFromJPEG in library , but its php's function . How can i solve it ?
Thanks