Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gd2]

GD2 as well as GD are open source code libraries for the dynamic creation of images by programmers. GD2 is the improved version of GD and a widely used standard. For example, GD2 in included in PHP 5.

1
vote
1answer
17 views

how to solve configurable product image adapter error in magento 2.2.6

I'm getting error in magento2.2.6 on frontend for configuration type product Exception #0 (InvalidArgumentException): Image adapter for 'SLGD2NEW' is not setup. also command not working bin/...
1
vote
0answers
24 views

Error message can't save a product

I can't save any product the system is keep on giving me this message Notice: A non well formed numeric value encountered in /home/.../magento/lib/Varien/Image/Adapter/Gd2.php on line 344 Please I ...
4
votes
2answers
187 views

Replace Bitmap Product Image with Jpg?

We've migrated over thousands of images from another, older eCommerce platform and are noticing that the products with .bmp product images are causing the following exception: 1 exception(s): ...
0
votes
1answer
449 views

What is GD2 and ImageMagick in magento 2

Can any one explain what is the use of GD2 and ImageMagick while uploading images in backend in magento 2.
4
votes
1answer
158 views

How to check image dimension on upload?

Building a custom module and would like to have this option implemented so user will not be able to upload image if the width and height is not as specified. :P Found this example: public function ...
2
votes
1answer
1k views

Magento 2 low image quality on products

We are currently using Magento 2 and all the images uploaded to the website are resized or modified by the system. The result is a poor image quality on all the products. I'm not finding any ...
21
votes
4answers
2k views

ImportExport problem with new destructor of Varien_Image_Adapter_Gd2 in 1.9.2.0

Can someone explain, what the following Code introduced between Magento CE 1.9.1.0 and 1.9.2.0 is used for? class Varien_Image_Adapter_Gd2: public function __construct() { // Initialize shutdown ...
2
votes
2answers
686 views

Error message in system.log regarding non well formed numeric value in Gd2.php

I can't figure out what this error message is in the system.log file. Have open the Gd2.php file looking at lines 492 and 513 and it has something to do with image watermark? 2015-08-15T20:24:41+00:...
1
vote
3answers
812 views

How do I stop the Magento cache increasing image filesize?

This problem is specific to already well compressed jpegs. When Magento is re-saving them to the cache, it increases the file size. In some cases almost doubling the size compared to the original. ...
7
votes
4answers
8k views

How to fix: “HEADER ALREADY SENT” and GD2?

This is a follow on to the question on How to debug: HEADER ALREADY SENT and GD2. Specifically how to fix the following errors (note first line had been added using previous debug advice to track the ...
5
votes
3answers
3k views

How to debug: “HEADER ALREADY SENT” and GD2?

I have an annoying HEADER ALREADY SENT error in system.log. It is not easy to debug it, what I could do was to improve the logging to isolate the source of the issue (has described here): Cannot ...