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

Req(?): opt-in AVIF thumbnail support #58

Open
Quackdoc opened this issue Feb 29, 2024 · 0 comments
Open

Req(?): opt-in AVIF thumbnail support #58

Quackdoc opened this issue Feb 29, 2024 · 0 comments

Comments

@Quackdoc
Copy link

I'm not sure how it want's to be handled, but compiling cosmic-files with cargo build --release --features "image/avif-decoder" will properly enable the avif support in image-rs. However there are multiple issues with this. It has limited support, it can break on some images like gbrp it will generate wrong colours, Only supports 8bit images, It also requires building against dav1d.

I don't think it should be a default feature, but it might be nice to be able to set it as an optional feature, or even simply advertise building with --features "image/avif-decoder" in the readme.md

@Quackdoc Quackdoc changed the title Req: opt-in AVIF thumbnail support Req(?): opt-in AVIF thumbnail support Feb 29, 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

No branches or pull requests

1 participant