Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

save image python

# Importing Image module from PIL package 
from PIL import Image 
import PIL 
  
# creating a image object (main image) 
im1 = Image.open(r"C:UsersSystem-PcDesktopflower1.jpg") 
  
# save a image using extension
im1 = im1.save("geeks.jpg")
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #save #image #python
ADD COMMENT
Topic
Name
9+3 =