R
Robert9
Guest
Member
I use an extern script to manipulate pictures from my forum.
I get a picture with curl.
Now i need to change the script to use GD instead of ImageMagick.
These are the parts i have to exchange (there is more code, but not neccessary to show here)
Code:
Code:
Has someone an idea or a site...
Read more
Continue reading...
I get a picture with curl.
Now i need to change the script to use GD instead of ImageMagick.
These are the parts i have to exchange (there is more code, but not neccessary to show here)
Code:
Code:
Code:
$i = new \Imagick();
$i->readImage($newFile);
// crop the image
... more code ...
// thumbnail the image
$i->ThumbnailImage($width,$height,true);
$i->writeImage($newFile);
Has someone an idea or a site...
Read more
Continue reading...