Need to change from ImageMagick to GD

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:

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...
 
BlackSpigot General Chat
Rules Help Users
    H @ HelpMe55: any staff online today? i am still waiting for my account recovery issue to be resolved
    Top