PNG Transparent upload error

See all posts Reply

PNG Transparent upload error new!
by orcun, 12 years ago
Hi,

I try to upload transparent logo with class.upload.php scrip but it gives black background color after the upload complating. I tried defineding bg color and undefined bg color. If a defien that, it gives but give a black color when undefined.

My sample code is
$handle->image_resize    = true;
$handle->image_ratio_y  = true;
$handle->image_x          = 250;
$handle->image_background_color = '';

Please help,
ThanksReply
Re: PNG Transparent upload error new!
by colin, 12 years ago
Are you using the latest version of the class? PNG transaprent should work. Can you copy here the log produced by the class? And can you provide a link to this PNG image?Reply