python-imaging-library
How to crop a region selected with mouse click, using Python?
I\'m working with python using Matplotlib and PIL and a need to look into a image select and cut the area that i have to work with, leaving only the image of the selected area.I alredy know how to cut[详细]
2023-03-25 21:20 分类:问答Python `aggdraw` module bug (?): visible alpha channel
Imagine simple script: from PIL import Image from aggdraw import Draw, Brush im = Image.new(\"RGBA\", (600, 600), (0, 0, 0, 0))[详细]
2023-03-25 01:19 分类:问答Python Imaging Library errors with libjpeg
I have a centos 5 and am trying to get Python Imaging library up and going.I installed libjpeg, libjpeg-devel, etc and am still not able to upload jpeg images to my django site.[详细]
2023-03-24 13:08 分类:问答Mac osx lion, virtualenv, pil install - gcc error
I have just completed the xcode install, mac osx lion. Upon completion I attempted to install PIL in a virtual enviroment using pip, easy_install and home brew. All three are erring out. pip install g[详细]
2023-03-24 05:29 分类:问答Unable to compile PIL/pysqlite after OS X 10.7 Lion upgrade
After Lion upgrade, I had to reinstall my pyt开发者_开发问答hon packages, and ran into problem installing PIL and pysqlite.[详细]
2023-03-22 07:43 分类:问答Python PIL Image.tostring()
I\'m new to Python and PIL. I am trying to follow code samples on how to load an image into to Python through PIL and then draw its pixels using openGL. Here are some line of the code:[详细]
2023-03-22 01:39 分类:问答Python copy on PIL image object
I\'m trying to create a set of thumbnails, each one separately downscaled from the original image. image = Image.open(path)[详细]
2023-03-21 18:57 分类:问答Django - can't open image in model save()
def upload_path_handler(instance, filename): return filename class SpectacleGallery(models.Model): image = models.ImageField(upload_to=upload_path_handler)[详细]
2023-03-21 11:21 分类:问答Python PSD layers?
I need to write a Python program for loading a PSD photoshop image, whi开发者_开发百科ch has multiple layers and spit out png files (one for each layer).[详细]
2023-03-21 09:01 分类:问答How can I close an image shown to the user with the Python Imaging Library?
I have several images which I would like to show the user with Python. The user should enter some description and then the next image should be shown.[详细]
2023-03-20 17:42 分类:问答