Python Imaging Library (PIL)ã試ãã¦ã¿ãããªãµã¤ãºã¨ãããããç°¡åã
easy_install pil ã§å ¥ãã
import Image im = Image.open("foo.jpg") new_im = im.resize((1024, 768), Image.BICUBIC) new_im.save("foo2.jpg")
(2008.3.18追è¨)ãã¨ãã°rorateã¯å転ããç»åãè¿ãã®ã«pasteã¯èªå·±ç ´å£çã¨ããè¨è¨ã®å¯¾ç§°æ§ã¯ã¤ãã¤ãã£ã½ããã§ã便å©ã