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.
16 questions
0
votes
1
answer
146
views
Magento Installation on xampp windows 10
I was installing Magento on my pc on xampp. First I had a lot of errors worked through it but now am getting the message below would please advise. Thank you in advance
PHP Parse error: syntax error, ...
0
votes
1
answer
43
views
Image resize issue
I am uploading below image for the product via backend.
But it changes to below image
It is clearly visible that it changes the color. I have tried using ImageMagik also. I have even tried this ...
2
votes
3
answers
9k
views
Wrong file in vendor/magento/framework/Image/Adapter/Gd2.php:64 when i install magento 2.3
Please help me.
It's displayed below error when I have cloned and installed Magento 2.
0
votes
2
answers
2k
views
Magento 2 image filesize() warning
I'm using the third party marketplace module Aptha. when I tried to save the image i get the following issue.
Exception #0 (Exception): Warning: filesize(): stat failed for http://192.168.43.35/b2b/...
0
votes
1
answer
1k
views
Magento 2: Error when trying to run command php bin/magento catalog:images:resize
I'm currently trying to run the following command
php bin/magento catalog:images:resize
But when it gets part way through I get the following error:
587/1490 [>] 39% 9 mins 54.0 MiB | /d/o/...
1
vote
1
answer
219
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/magento ...
1
vote
0
answers
65
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
2
answers
655
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
1
answer
2k
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
1
answer
443
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
1
answer
4k
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 ...
24
votes
4
answers
3k
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 ...
3
votes
2
answers
1k
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:...
2
votes
3
answers
1k
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. ...
8
votes
4
answers
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
3
answers
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 ...