标签:pillow
-
从列表制作图像 - python
我正在尝试从Python中的1和0列表创建图像。 from PIL import Image img1 = Image.open('Image1.gif') #the image is strictly black and white img1_size = img1.size img1_k = [] for i in range(img […]
-
为什么PIL /枕式作物不起作用? - python
我正在尝试使用枕头来裁剪图像,但是它似乎不起作用。我有以下代码: im = Image.open('the_image.jpg') print 'ORIGINAL SIZE: ', im.size im.crop((1087, 0, 1820, 2197)) print 'CROPPED SIZE: ', im […]
-
PIL Image.size()无法正常工作 - python
Closed. This question is not reproducible or was caused by typos。它当前不接受答案。 想改善这个问题吗?更新问题,以使为on-topic。 5年前关闭。 Improve this question 我有一些简单的代码,可以使用Pillow fork及其有关如何查找图像属性的文档来加载图像文件,然 […]