Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question