Pillow
Pillow copied to clipboard
Python Imaging Library (Fork)
Resolves #8888 https://www.ece.ualberta.ca/~elliott/ee552/studentAppNotes/2003_w/misc/bmp_file_format/bmp_file_format.htm states that the fourth channel in a BMP color table is 'unused (=0)'. It seems reasonable to do so when saving 1 and L mode BMPs, and...
Resolves #8881 When pasting an image, https://github.com/python-pillow/Pillow/blob/c8d98d56a02e0729f794546d6f270b3cea5baecf/src/libImaging/Paste.c#L47-L49 will copy the rows of the image from top to bottom. However, if the image is pasting onto itself, but say, 10 pixels...
This is part of https://github.com/python-pillow/Pillow/pull/8362 - I'm hoping to break down that PR into easier-to-review chunks. Image's `palette` may be `None` ```pycon >>> from PIL import Image >>> im =...
Does Pillow utilize GPU instructions when running on GPU enabled machines?
Sequel to #8619 This is part of https://github.com/python-pillow/Pillow/pull/8362 - I'm hoping to break down that PR into easier-to-review chunks.
Sequel to #8844
Possible way to help #8492. Alternative to #8518 The issue has found that running a test that calls `register_handler` at the beginning, and removes the handler at the end, fails...
Resolves #4945 Currently, ```python from PIL import ImageFont, ImageDraw, Image im = Image.new("RGB", (200, 200), "white") draw = ImageDraw.Draw(im) font = ImageFont.truetype("Tests/fonts/DejaVuSans/DejaVuSans.ttf", 24) draw.text((100, 10), "abc\n123\nXYZ", "black", font, direction="ttb") im.show()...
Apart from the failure in #8454 and other hard crashes at the C level (I'll open separate issues for those), quite a few tests fail when run in multiple threads...
Hey, this is a little out of my scope of understanding but the project maintainer of owocr thinks the issue may lie with Pillow. ### What did you do? I...