Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Feb 18, 2022

Resolves #4059
Resolves #3176

#1938 added Image.register_encoder(), but stopped short of creating ImageFile.PyEncoder to go with it.

First, however, some cleanup - tests from #4885 and #3190 were blindly appended to the end of Tests/test_imagefile.py. This incorrectly made them a part of the unrelated TestPyDecoder class. So I have moved them up to the TestImageFile class.

I've implemented a PyEncoder for BLP.

@radarhere radarhere force-pushed the pyencoder branch 2 times, most recently from 749926c to d61470b Compare February 25, 2022 06:38
@radarhere radarhere mentioned this pull request Feb 25, 2022
@hugovk hugovk merged commit 1d3b373 into python-pillow:main Feb 27, 2022
@radarhere radarhere deleted the pyencoder branch February 27, 2022 20:29
@radarhere radarhere changed the title Added PyEncoder Added PyEncoder and support BLP saving Feb 27, 2022
radarhere added a commit to radarhere/Pillow that referenced this pull request Feb 27, 2022
radarhere added a commit to radarhere/Pillow that referenced this pull request Feb 27, 2022
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.

PyEncoder doesn't exist Saving BLP files

2 participants