Python - JPG to Transparent PNG
Personally I am writing a lot of ppt and creating illustrations for various purpose. In may cases, I wanted to get many images with transparent background (like transparent png). In most case, this used to be the way I got those images.
Find images from Google. Trying to get the image with transparent background
However I was facing difficulties as below
Now with many of free AI image generation tools, the way I am working with the image became as follows
This new workflow helps me a lot but still I was facing difficulties to the second step (i.e, the step of producing transparaent image). Without purchasing licese, the converted image should be used only for personal purpose. Another problem was that I need to convert the images manually which is tedious job.
Then a flashing idea popped up. Why don't I ask chatGPT to write a python script for converting jpg to transparent png.