↧
Answer by Matías Cánepa for PHP Image Cant Make background transparent
This should work for you!<?$image = "your_image.png";$image_info = getimagesize($image);$width = $image_info[0];$height = $image_info[1];$mime_type = $image_info["mime"];$maxWidth = 250;$maxHeight =...
View ArticlePHP Image Cant Make background transparent
I've got a snippet of code,The idea of it is to create a transparent canvas to a defined height/width, so I'm able to place either a jpg/png/gif in there.However if it places a PNG in there with...
View Article