python-imaging-library
Python PIL: How to save cropped image?
I have a script which creates an image and the it crops it. The problem i开发者_运维知识库s that after I call the crop() method it does not save on the disk[详细]
2023-03-15 11:17 分类:问答Draw dendrogram in python manually
I have implemented an algorithm to solve the problem of clustering in a graph. I used the python library \"python-graph\" to represent the graph. Now, at each step of my computation (the algorithm is[详细]
2023-03-15 06:46 分类:问答Translate Exif DMS to DD Geolocation with Python
I am using the following code to extract the geolocation of an image taken with an iPhone: from PIL import Image[详细]
2023-03-14 20:28 分类:问答(Python) Set a specific palette in an image using PIL or PyPNG
I have a bunch of images that I am working on separately, that fit back together after being worked on. I\'d like to compress them to a 8 bit image in order to save size. I\'m currently doing this开发[详细]
2023-03-14 14:58 分类:问答How do I get the picture size with PIL?
How do I 开发者_JAVA技巧get a size of a pictures sides with PIL or any other Python library?from PIL import Image[详细]
2023-03-14 14:29 分类:问答How to fix "The _imaging C module is not installed" Django/WSGI/Apache
I run my test sites on my home computer which sadly uses Windows. Now, i\'m trying to thumbnail an image but i\'m getting the error:[详细]
2023-03-13 17:43 分类:问答Pixel manipulation with PIL.Image and ctypes
I have a C function that does some pixel manipulation on a raw 2D array of 8 bit RGB values. I get the response in 开发者_StackOverflowa c_ubyte array. My code looks roughly like this:[详细]
2023-03-13 13:54 分类:问答Save image created via PIL to django model
I have successfully created and rotated an image that was uploaded via email to a directory on my server using the following code:[详细]
2023-03-13 09:10 分类:问答How to fix these IOErrors when creating a thumbnail from a filepath in PIL (Python Imaging Library)
I am trying to make a simple function in python that can take in a filepath and an outputfilepath, and then make a 64x64 thumbnail for the image found at filepath and save the thumbnail to outputfilep[详细]
2023-03-13 02:18 分类:问答Rotate image uploaded via email using PIL for Django website
My website allows users to upload photos to their gallery via email and it works perfectly.However, photos taken on the iPhone in portrait mode do NOT rotate correctly.I would like to rotate the photo[详细]
2023-03-12 14:11 分类:问答