Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #6844

Adds support for reading the QOI image format - https://qoiformat.org/.

The specification is https://qoiformat.org/qoi-specification.pdf
I created the test images using https://www.aconvert.com/image/png-to-qoi/

@radarhere radarhere mentioned this pull request Jan 2, 2023
from .helper import assert_image_equal_tofile, assert_image_similar_tofile


class TestFileQOI:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could maybe skip the class here and use plain, top-level functions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I've added a commit for this.

radarhere and others added 2 commits March 12, 2023 23:25
Co-authored-by: Hugo van Kemenade <[email protected]>
@hugovk hugovk added the automerge Automatically merge PRs that are ready label Mar 12, 2023
@mergify mergify bot merged commit 264b19b into python-pillow:main Mar 12, 2023
@radarhere radarhere deleted the qoi branch March 12, 2023 20:58
@dofuuz
Copy link

dofuuz commented Jun 14, 2023

QOI is read-only now, but its doc is on Write-only formats section.

@radarhere
Copy link
Member Author

You're right, I've created #7212 to fix that.

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

Labels

automerge Automatically merge PRs that are ready Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QOI support

3 participants