Re: [PHP] Want to save png to file

2004-07-19 Thread Victor Spång Arthursson
2004-07-16 kl. 15.12 skrev Jason Wong: If you already have an image resource then calling imagepng() with a filename will create and write the file for you. Thanks! Now my only problem is that it doesn't seem possible to use imagecopyresized() with a transparent png; it doesn't become

Re: [PHP] Want to save png to file

2004-07-16 Thread Victor Spång Arthursson
2004-07-08 kl. 06.25 skrev Wudi: int imagepng ( resource image [, string filename]) Back on track again! What I don't know is how to save the file - do I read the datastream from imagepng and then create a file and write the stream to it? Sincerely Victor -- PHP General Mailing List

Re: [PHP] Want to save png to file

2004-07-16 Thread Jason Wong
On Friday 16 July 2004 20:41, Victor Spång Arthursson wrote: 2004-07-08 kl. 06.25 skrev Wudi: int imagepng ( resource image [, string filename]) Back on track again! What I don't know is how to save the file - do I read the datastream from imagepng and then create a file and write the

Re: [PHP] Want to save png to file

2004-07-07 Thread Wudi
int imagepng ( resource image [, string filename]) On Tue, 6 Jul 2004 13:48:44 +0200 Victor Sp?g Arthursson [EMAIL PROTECTED] wrote: Hi! Creating a transparent png using GD and PHP is (almost) no problem, but it's impossible to save? No matter what I try, the saved image wont remember

[PHP] Want to save png to file

2004-07-06 Thread Victor Spång Arthursson
Hi! Creating a transparent png using GD and PHP is (almost) no problem, but it's impossible to save No matter what I try, the saved image wont remember that it's transparent. I suspect the reason it works on the fly is because I manually set the header to image/png, but if I try so save the

Re: [PHP] Want to save png to file

2004-07-06 Thread Jason Wong
On Tuesday 06 July 2004 19:48, Victor Spng Arthursson wrote: Creating a transparent png using GD and PHP is (almost) no problem, but it's impossible to save Here you say it's impossible to save, but then further down you contradict this by saying that you did manage to save it - only the