[solved] GD-Library / png

urs

Well-Known Member
#1
My GD is working as it should, only with png pictures there is a problem. No png pictures will be reseized. JPEG works as it should. I have absolutly no idea where to search the error.....
 
Last edited by a moderator:

urs

Well-Known Member
#5
I see no error at all.....

Strange, i installed a new version of libpng and php, recompiled, in the phpinfo.php i see the new version of php, but pnglib is the old version number.... the path of the libpng is correct,
 
Last edited:

urs

Well-Known Member
#6
now, i have an error...

2011-05-18 09:38:01.844 [STDERR] libpng warning: Application built with libpng-1.2.41 but running with 1.5.2
 

urs

Well-Known Member
#7
I corrected the error and now i receive:

2011-05-18 09:46:09.747 [NOTICE] [192.168.0.55:50231-0#aqula] [STDERR] PHP Notice: Undefined index: category_ids in /Volumes/sites/aqula/html/administrator/components/com_virtuemart/classes/ps_product.php on line 98
2011-05-18 09:46:09.749 [NOTICE] [192.168.0.55:50231-0#aqula] [STDERR] PHP Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /Volumes/sites/aqula/html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 154
2011-05-18 09:46:09.749 [NOTICE] [192.168.0.55:50231-0#aqula] [STDERR] PHP Warning: imagecreatefrompng(): '/Volumes/sites/aqula/html/components/com_virtuemart/shop_image/product/tmpForThumb_phpRB6Mmy' is not a valid PNG file in /Volumes/sites/aqula/html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 154
2011-05-18 09:46:09.749 [NOTICE] [192.168.0.55:50231-0#aqula] [STDERR] PHP Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /Volumes/sites/aqula/html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 258
2011-05-18 09:46:09.749 [NOTICE] [192.168.0.55:50231-0#aqula] [STDERR] PHP Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /Volumes/sites/aqula/html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 304
2011-05-18 09:46:09.749 [NOTICE] [192.168.0.55:50231-0#aqula] [STDERR] PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /Volumes/sites/aqula/html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 170
2011-05-18 09:46:09.861 [NOTICE] [192.168.0.55:50231-0#aqula] [STDERR] PHP Notice: getimagesize(): Read error! in /Volumes/sites/aqula/html/administrator/components/com_virtuemart/classes/ps_product.php on line 1439


Is there a possibility to test the pnglib on the unix side?
 
Top