Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Gaussian blur is removing all transparent pixels from image

I am trying to make a transparent image with a black shape on it.

Then use IMG_FILTER_GAUSSIAN_BLUR on it to blur the shape a little.

Problem is as soon as I apply blur filter, entire image loses its transparent pixels, and entire image becomes black.


So when I copy the final image on a white image, then instead of getting a transparent image with some blurred black shape, I get a completely black image...

What is wrong with this?


<?php

$image= imagecreatetruecolor( 200, 200 );...

Gaussian blur is removing all transparent pixels from image

from PHP https://ift.tt/2SIhJhR
via IFTTT

Post a Comment

0 Comments