-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Open
Description
This goal of this issue is to add tests for both jpeg and png implementation on all platforms, to test that:
decode(encode(image)) ~= image.
This test will require an image-comparison util that is robust to minor changes. One possible approach is to compare histograms as done in PIL: https://github.com/python-pillow/Pillow/blob/affa059e959280bf7826ec1a023a64cb8f111b6d/Tests/helper.py#L110-L134
This test is not as robust as the ones we currently have where we individually test encode and decode w.r.t. to a reference implementation (PIL), but it's still good to have as a functional / integration test and it will hopefully help #3913 move forward.
datumbox, pmeier and zhiqwang
Metadata
Metadata
Assignees
Labels
No labels