Skip to content

Added test for saving PNG with bits keyword#5331

Merged
hugovk merged 1 commit intopython-pillow:masterfrom
radarhere:png_bits
Mar 20, 2021
Merged

Added test for saving PNG with bits keyword#5331
hugovk merged 1 commit intopython-pillow:masterfrom
radarhere:png_bits

Conversation

@radarhere
Copy link
Copy Markdown
Member

Line 1189 is currently untested

if "bits" in im.encoderinfo:
# number of bits specified by user
colors = 1 << im.encoderinfo["bits"]

@hugovk hugovk merged commit e1e9569 into python-pillow:master Mar 20, 2021
@radarhere radarhere deleted the png_bits branch March 21, 2021 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants