unknown365 Posted June 22, 2009 Share Posted June 22, 2009 Hi Everyone! I want to use PNG-24 in GD so that I would get a better image quality. My problem is that whenever I use PNG-24, the image that i try to call using "imagecreatefrompng" becomes a different image. Also, the image that I use has a transparent background but whenever I use the PNG-24 image, the background becomes white. However in using a PNG-8 image, I don't encounter these two problems. Below are the images that I used PNG-8 (the original look of the image) PNG-24 As can be seen above, the PNG-24 is totally different from the PNG-8. Please help! Link to comment https://forums.phpfreaks.com/topic/163233-using-png-24-in-php-gd/ Share on other sites More sharing options...
unknown365 Posted June 23, 2009 Author Share Posted June 23, 2009 Can anyone please help me Link to comment https://forums.phpfreaks.com/topic/163233-using-png-24-in-php-gd/#findComment-861613 Share on other sites More sharing options...
pkedpker Posted June 23, 2009 Share Posted June 23, 2009 did you find out about imagecolortransparent() Link to comment https://forums.phpfreaks.com/topic/163233-using-png-24-in-php-gd/#findComment-861677 Share on other sites More sharing options...
unknown365 Posted June 23, 2009 Author Share Posted June 23, 2009 I was already able to solve the problem but I was just wondering...does the quality of an image changes if I use GD? Because in my case, the quality of the image i used in GD suddenly had some edges. Is this normal? Link to comment https://forums.phpfreaks.com/topic/163233-using-png-24-in-php-gd/#findComment-861723 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.