K
K
Kirill Zhilyaev2016-07-31 15:23:41
PHP
Kirill Zhilyaev, 2016-07-31 15:23:41

How to change white to transparent?

I have an image with black text and a white background. It is necessary to replace the white background with a transparent one in order to add a background from another image.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nazar Mokrinsky, 2016-07-31
@nazarpc

The simplest solution is to open the image with the same GD, go through the pixels and check if the pixel is white. But in this case it will work only with absolutely white color, and without transient translucency.

A
Archakov Dennis, 2016-07-31
@archakov06

photoshop

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question