N
N
nikoyar2015-12-18 18:21:22
PHP
nikoyar, 2015-12-18 18:21:22

How to make a transparent area in an image fill with color?

There are images with transparent areas. The question is how to save this image as a jpg and still fill the transparent area with the desired color?
Found several solutions but none worked...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mike, 2015-12-18
@Goodilla

With PHP? Create a background of the desired color... - php.net/manual/ru/function.imagecolorallocate.php , if I understood you correctly (the whole library: php.net/manual/ru/ref.image.php)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question