logitron Posted May 10, 2007 Share Posted May 10, 2007 Hallo, how can i convert this png stream http://ichart.finance.yahoo.com/b?s=%5EIXIC into a jpg? So when i got web.com/convert.php the image as jpg will be displayed? Thanks a lot for your help in advance Link to comment https://forums.phpfreaks.com/topic/50809-convert-png-stream-from-the-web-into-jpg/ Share on other sites More sharing options...
per1os Posted May 10, 2007 Share Posted May 10, 2007 You need www.php.net/gd the GD library first. Once you have that look into the image functions www.php.net/image Link to comment https://forums.phpfreaks.com/topic/50809-convert-png-stream-from-the-web-into-jpg/#findComment-249832 Share on other sites More sharing options...
logitron Posted May 10, 2007 Author Share Posted May 10, 2007 Did it this way <? imagejpeg(imagecreatefrompng("http://ichart.finance.yahoo.com/b?s=%5EIXIC")); ?> ...but the quality could be better Link to comment https://forums.phpfreaks.com/topic/50809-convert-png-stream-from-the-web-into-jpg/#findComment-249834 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.