python-imaging-library
How to reduce color palette with PIL
I\'m not 开发者_开发百科sure how I would go about reducing the color palette of a PIL Image. I would like to reduce an image\'s palette to the 5 prominent colors found in that image. My overall goal i[详细]
2023-04-08 09:37 分类:问答Working with TIFFs (import, export) in Python using numpy
I need a python method to open and import TIFF images into numpy arrays so I can analyze and modify the pixel data and then save them as TIFFs again. (They are basically light intensity maps in greysc[详细]
2023-04-07 17:57 分类:问答Trim scanned images with PIL?
What would be the approach to trim an image that\'s been开发者_StackOverflow input using a scanner and therefore has a large white/black area?the entropy solution seems problematic and overly intensiv[详细]
2023-04-07 15:56 分类:问答Transparent PNGs don't retain transparency after being transformed (Django + PIL)
I\'m using sorl-thumbnail, PIL, and Django on a webserver to dynamically create thumbnails in templates.[详细]
2023-04-07 13:26 分类:问答Converting an UploadedFile to PIL image in Django
I\'m trying to check an image\'s dimension, before saving it.I don\'t need to change it, just make sure it fits my limit开发者_如何转开发s.[详细]
2023-04-07 06:03 分类:问答How to quantize image color from RGB 24 bit to RGB 6 bit (64 colors)?
I\'m trying to deploy BIC algorithm (border/interior pixel classify) and using PIL (python imaging library) to process image . But i don\'t know how to quantize RGB color from 24bit (8b开发者_Python百[详细]
2023-04-06 11:24 分类:问答Make PNG sprites in PIL but want to preserve alpha channel
I\'m creating a script to grab a bunch of favicons, convert them to png and make a single sprite image out of all of them.[详细]
2023-04-05 12:59 分类:问答How do I read image data from a URL in Python?
What I\'m trying to do is fairly simple when we\'re dealing with a local file, but the problem comes when I try t开发者_Go百科o do this with a remote URL.[详细]
2023-04-04 21:00 分类:问答Compare two images in Monkeyrunner under windows
I am trying to compare two images that are taken from monkeyrunner. I found that there is sameAs in monkeyrunner but it seems to not work.[详细]
2023-04-04 12:51 分类:问答Python and 16-bit PGM
I have 16-bit PGM images that I am trying to read in Python. It seems (?) like PIL does not support this format?[详细]
2023-04-04 07:29 分类:问答
加载中,请稍侯......