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 support HEIC for resize_image #2084

Open
euskadi31 opened this issue Jan 23, 2023 · 8 comments
Open

Add support HEIC for resize_image #2084

euskadi31 opened this issue Jan 23, 2023 · 8 comments

Comments

@euskadi31
Copy link

Bug Report

Add support HEIC for resize_image

Environment

Zola version: 0.16.1

Expected Behavior

Resize image

Current Behavior

Error: Reason: The file extension `."HEIC"` was not recognized as an image format

Step to reproduce

Use image with format is HEIC

@Keats
Copy link
Collaborator

Keats commented Jan 24, 2023

That's not a bug? Is there even a Rust library supporting that format?

@DrGo
Copy link

DrGo commented Feb 24, 2023

@Keats
Copy link
Collaborator

Keats commented Feb 25, 2023

According to https://caniuse.com/?search=HEIC it's not usable in any browsers. What's the usecase there?

@hsn10
Copy link

hsn10 commented Feb 27, 2023

https://en.wikipedia.org/wiki/AVIF is better alternative, just its very slow to compress.

@Keats
Copy link
Collaborator

Keats commented Feb 27, 2023

There is a PR for AVIF: #1347 but the issue is that it was making Zola harder to build

@euskadi31
Copy link
Author

According to https://caniuse.com/?search=HEIC it's not usable in any browsers. What's the usecase there?

My need is to use HEIC => JPEG or WEBP conversion

@euskadi31
Copy link
Author

I had taken photos via my iPhone and I used these photos to illustrate an article, I had to manually convert each photo, I would have liked it to be supported natively.

@Keats
Copy link
Collaborator

Keats commented Feb 27, 2023

Related thread from the image crate: image-rs/image#1375

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

4 participants