python-imaging-library
Encoding binary data in a PNG?
I\'m looking for information on开发者_如何学Python how to encode a small amount of binary data (say, around 200 bytes) into a PNG through colors; essentially what Hid.im does for .torrent files. Any i[详细]
2023-03-07 17:23 分类:问答PIL convert('L') to greyscale distorts some images
I\'m converting some images to greyscale with the easy-thumbnails Django app.Most of them are fine, but a handful are getting partially or totally messed up.The same error is occurring on two differen[详细]
2023-03-07 16:54 分类:问答How do you compare pixels?
I am using the PIL to take an image with a black background and make a mask out of it. What I want the program to do is iterate through all the pixels in the image and if the pixel is black make it wh[详细]
2023-03-07 10:08 分类:问答python PIL YCbCr support
Trying to create an PIL image in YCbCr mode crashes even a fresh python/PIL installation from synaptic in my ubuntu 11.04[详细]
2023-03-07 05:33 分类:问答-
Cutting one image into multiple images using the Python Image Library
I need to cut this image into three parts using PIL and pick the middle part. How do I do it? http://thedilbertstore.com/images/pe开发者_如何学JAVAriodic_content/dilbert/dt110507dhct.jpgSay you have[详细]
2023-03-06 20:37 分类:问答 Python read multilayer PSD?
Can you read a multilayered PSD im开发者_运维技巧age with Python? Ive tried PIL, but it only seems to access the first layer. Another problem is the result is black if the layer was set to \"hidden\"[详细]
2023-03-06 05:33 分类:问答How to Split Image Into Multiple Pieces in Python
I\'m trying to split a photo into multiple pieces using PIL. def crop(Path,input,height,width,i,k,x,y,page):[详细]
2023-03-05 08:37 分类:问答Getting rid of thin border at edge with transparency when antialiasing with Python Image Library
I have a high-resolution image that I want to use as a tiled map overlay using Google Maps API v3. I used MapTiler to break it into appropriate tiles at the desired zoom levels.That worked well excep[详细]
2023-03-05 07:43 分类:问答PIL problems: failed in loading any font library and using unicode
I newly installed PIL. But I find: I can\'t load any font lib using \"ImageFont.truetype(\"xxx.ttc\", 50)\"[详细]
2023-03-05 06:26 分类:问答In python, how would I open a PIL or Imagemagick Image as a file
I\'m taking uploaded files which I can save to S3 using SimpleS3: from simples3.bucket import S3Bucket[详细]
2023-03-04 17:15 分类:问答