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 Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.