Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #9299

# encoder options
im.encoderconfig = (
im.encoderinfo.get("optimize", False),
im.encoderinfo.get("compress_level", -1),
im.encoderinfo.get("compress_type", -1),
im.encoderinfo.get("dictionary", b""),
)

only applies the encoderinfo options to single frames, not multiple frames, especially after each of the multiple frames are copied.

This PR applies the encoderinfo options to all frames when saving PNGs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The parameter “compress_level” is invalid for the APNG file extension

1 participant