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

Add avif support #675

Closed
wants to merge 1 commit into from
Closed

Conversation

kaanyalova
Copy link

@kaanyalova kaanyalova commented Apr 18, 2024

Description

Avif is more efficient for storage compared to .jpeg or .webp

Adds .avif support for genrated images and for parsing exif data
Exif data is stored in UserComment similar to .jpeg, .webp

I have also removed the second "user comment" field from image info for formats other than png, it looks same as png now.

It adds pillow-avif-plugin to dependencies because avif isn't supported by pillow yet

Checklist:

Add exif info support for avif

Remove unnecessary exif comment field from info

It used to show same info twice for image formats other than png, It now shows once
@Dikay900
Copy link

Dikay900 commented Apr 18, 2024

Tested generating images and rereading them via png info.
Works like a charm!
Thanks!

@catboxanon
Copy link
Collaborator

This should be proposed upstream instead. https://github.com/AUTOMATIC1111/stable-diffusion-webui/pulls

@catboxanon catboxanon closed this Apr 20, 2024
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.

None yet

3 participants