Re: [PHP] GD2 makes black thumbnails

2003-07-21 Thread Marek Kilimajer
Use imagecreatetruecolor() instead of imagecreate() Jiří Němec wrote: hello everyone, i have got a question about creating thumbnails from original JPG files. users upload their own pohotos in JPG format to server, and system makes a thumbnails. these thumbnails are sometime black. probably ther

[PHP] GD2 makes black thumbnails

2003-07-18 Thread Jiří Němec
hello everyone, i have got a question about creating thumbnails from original JPG files. users upload their own pohotos in JPG format to server, and system makes a thumbnails. these thumbnails are sometime black. probably there is problem in uploaded image files, bacaues if I open and save "for w