python-imaging-library
How to generate quality windows icons with images of capital letters inside using Python?
I want to get 26 files (for starters): A.i开发者_如何学Cco, B.ico, ... Z.ico, where they are composed of 16x16 256-color image, and a 32x32 256-color image, where the color of the text is black, and t[详细]
2023-03-29 05:29 分类:问答Creating an arc with a given thickness using PIL's Imagedraw
I am trying to create a segmented arc using PIL and Imagedraw. The arc funct开发者_运维知识库ion allows me to draw an arc easily, but it is just a line. I need to be able to place an arc of given radi[详细]
2023-03-28 19:51 分类:问答PIL Image.fromstring from PyOpengl buffer has the wrong size
I use PyOpenGL to draw a 2D Image. Then I want to use the Python Imaging Library (PIL) to store this image to disk. I use GLUT to display the image which works perfectly. But when I use PIL to store t[详细]
2023-03-28 19:46 分类:问答PIL changes file name while saving
When I use the save method in PIL to save a file, it saves it by the right file name I provide, but on 开发者_StackOverflow社区clicking on the file name the path shows to be different. (Sorry, my expl[详细]
2023-03-28 05:44 分类:问答PIL smudges image when I overlay another image on it
I\'m using the following code to overlay an image onto another image using PIL path = \"/home/blah.png\"[详细]
2023-03-27 19:03 分类:问答Write image to Windows clipboard in python with PIL and win32clipboard?
I\'m trying to open an image file and copy the image to the Windows clipboard.Is there a way to fix this:[详细]
2023-03-27 17:02 分类:问答PIL Plus/imToolkit replacements
I\'ve been trying to find if there was any continuation of the abilities that were provided for PIL Plus for Python also known as imToolkit. I know that PIL Plus (aka imToolkit) was a commercial exten[详细]
2023-03-27 09:35 分类:问答How to create a loop to read several images in a python script?
I use python to work with image processing. I\'m used t开发者_JS百科o cut, draw and other things, but for one image. Like in the script below, how can i aply a loop in the script to do for several ima[详细]
2023-03-27 07:23 分类:问答PINAX & PIL Installation on Windows 7
I have Python 2.7 on Windows 7 x64.I have installed virtualenv and installed Pinax withing the project in virtualenv.When I try to syncdb I recieve an error stating PIL is needed.I tried installing PI[详细]
2023-03-26 23:15 分类:问答Copying triangular image region with PIL
I have two PIL images and two sets of corresponding 2D points that make a triangle. For example: image1:[详细]
2023-03-26 03:52 分类:问答