Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pillow plugin: not proper mimetype get registered #43

Closed
bigcat88 opened this issue Oct 29, 2022 · 0 comments
Closed

Pillow plugin: not proper mimetype get registered #43

bigcat88 opened this issue Oct 29, 2022 · 0 comments
Labels
bug Something isn't working fixed Fixed in last version

Comments

@bigcat88
Copy link
Owner

bigcat88 commented Oct 29, 2022

def register_heif_opener():
    ...
    Image.register_mime(HeifImageFile.format, "image/heic")
    Image.register_mime(HeifImageFile.format, "image/heic-sequence")
    Image.register_mime(HeifImageFile.format, "image/heif")
    Image.register_mime(HeifImageFile.format, "image/heif-sequence")
    ...

In the end format HEIF has registered mimetype to image/heif-sequence

The main question, what mimetype choose for HEIF format: image/heic or image/heif ?
We can choose only one...

@bigcat88 bigcat88 added fixed in upcoming release fix will arrive with next release bug Something isn't working labels Oct 30, 2022
bigcat88 added a commit that referenced this issue Oct 31, 2022
@bigcat88 bigcat88 added fixed Fixed in last version and removed fixed in upcoming release fix will arrive with next release labels Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Fixed in last version
Projects
None yet
Development

No branches or pull requests

1 participant