I have an image and the background is white. how can i remove the white background?
This is my code:
<img src="Galactic empire.png">
Asked
Active
Viewed 1,286 times
-1
-
2You could do this in CSS but you really should be doing this in Photoshop, GIMP, or some other image editing software. – chriskirknielsen Feb 26 '20 at 14:03
-
Does this thread answer your question? https://stackoverflow.com/questions/38801665/how-to-recolor-a-white-on-transparent-image-to-an-arbitrary-color-using-css – xKobalt Feb 26 '20 at 14:12
2 Answers
2
You can use ether photoshop and have image without background or use site like RemoveBg, to do the same, Might Help:)

akashdeep arora
- 129
- 5
-
the problem is it only removes the background and i want all of the white squares to dissapier.. – Feb 26 '20 at 14:25
-
this site does the best possible using its algorithm but it doesn't provide the desired results in some cases then you need to Photoshop on your own to do the same. – akashdeep arora Feb 26 '20 at 14:29
0
If it is a png image, it automatically eliminates the checkered background. Use another image or edit the current image in Adobe Photoshop.

night vision
- 124
- 5