Trouble keeping transparency with upload script
问题 So I'm not sure what I'm doing wrong, I thought I had this working perfectly until I uploaded a PNG with a transparent background, and it saved after with a black background. Can anyone point out what I'm doing wrong? Here is my image class and upload code. I thought the 'imagecreatefrompng' section was what would keep the transparency, but maybe I'm wrong or doing it wrong? Image Class <?php ini_set("memory_limit","50M"); function normal_resize_image($source, $destination, $image_type, $max