Quantcast
Channel: PHP Image Cant Make background transparent - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Image may be NSFW.
Clik here to view.

PHP 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>