Skip to content

Commit

Permalink
#3667 older versions of Pillow insist on a full palette
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 24, 2022
1 parent 6682665 commit 7c91658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittests/unit/codecs/pillow_encoder_test.py
Expand Up @@ -68,7 +68,7 @@ def test_encode_image_formats(self):
def do_test_pixel_format(self, pixel_format, bpp, encoding):
maxsize = 1024*1024*4
buf = bytearray(maxsize)
palette = [(10, 255, 127), (0, 0, 0), (255, 255, 255)]
palette = [(10, 255, 127), (0, 0, 0), (255, 255, 255)] + [(0, 0, 0)]*253
for transparency in (True, False):
for quality in (0, 1, 50, 99, 100):
for speed in (0, 1, 50, 99, 100):
Expand Down

0 comments on commit 7c91658

Please sign in to comment.