Questions tagged [gd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
50 views

Reading transformed image data in plugin

I'm working with images in a plugin but getting a bit stuck reading a transformed image. Given the following code: $assetTransform = new AssetTransform([ 'mode' => 'stretch', 'width' => ...
  • 33
0 votes
0 answers
33 views

Why do image Transformations never finish rendering regardless if I use GD2 or ImageMagick?

I'm running Craft 2 with PHP 5.6.40 on a Windows 2019 Server under IIS (x64, non-thread-safe, FastCGI). PHP -m doesn't show any issues with my extensions, regardless if I use GD2 or ImageMagick. But ...
  • 101
1 vote
0 answers
306 views

Image driver error: "Class 'Imagine\Gd\Imagine' not found"

I recently migrated an inherited site to a Digital Ocean VPS (LAMP, PHP 7.2, Craft 3.4.9). When I visit /admin/utilities/system-report I receive the following error: Class 'Imagine\Gd\Imagine' not ...
0 votes
0 answers
464 views

Internal Server Error - The file does not appear to be an image

On a live environment I'm hitting an error when uploading some jpg images, which wasn't a problem on dev or production. I can get around it by re-exporting the image out and keeping it under 1mb, but ...
  • 889