Image
Cài đặt
from PIL import ImageMở file
Ví dụ:
from PIL import Image
im = Image.open("photo.jpg")Ghi file
Ví dụ:
...
im.save('photo_new.jpg', 'JPEG')Tạo thumbnail
Ví dụ:
Các thao tác xử lý hình ảnh
Follower me
Last updated