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 there is problem in
uploaded image files, bacaues if I open and save "for web" this file
in AP there is no problem.

have somebody idea how to solve this problem??

jiri nemec, ICQ: 114651500
www.menea.cz - www stránky a aplikace




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to