Answers for "create transparent placeholder img"

3

create transparent placeholder img

from PIL import Image
img = Image.new('RGB', (32,32), color='white')
img.save('empty.png')
quit()
Posted by: Guest on May-29-2020
-1

create transparent placeholder img

convert -size 32x32 xc:white empty.jpg
Posted by: Guest on May-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language