I am running a code which takes an image an changes it to RGB format using im.convert("RGB")
. However, when I run this, it prints in the terminal UserWarning: Palette images with Transparency expressed in bytes should be converted to RGBA images
, which, although it doesn't stop the program, is annoying and pops up every time. Is there any way to remove this?
Asked
Active
Viewed 8,727 times
0

EpicEfeathers
- 106
- 2
- 12
-
1Lots of possibilities here... https://stackoverflow.com/q/14463277/2836621 – Mark Setchell Jan 24 '22 at 22:00
-
@MarkSetchell ah thanks I didn't know quite what to search for! – EpicEfeathers Jan 25 '22 at 20:40