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 warning for AVIF image format #2909

Closed
wants to merge 2 commits into from
Closed

Conversation

djibe
Copy link
Contributor

@djibe djibe commented Feb 14, 2025

Nowhere in the doc the absence of AVIF processing is stated.

Nowhere in the doc the absence of AVIF processing is stated.
@jmooring
Copy link
Member

In general, documentation should state what something does, not what it doesn't do.

Add a bulleted list of raster image formats supported by Hugo's imaging pipeline. Place it beneath this:

image

@djibe
Copy link
Contributor Author

djibe commented Feb 14, 2025

As AVIF is now a common web file format, I thought it was supported.

I lost 40 minutes struggling and Hugo's search engine did not help. I think stating this case is important.

I read in https://gohugo.io/functions/images/config/ that "Supported image formats include GIF, JPEG, PNG, TIFF, and WebP."
Should I add there a message to add an AVIF keyword ?

@bep
Copy link
Member

bep commented Feb 14, 2025

I lost 40 minutes struggling and Hugo's search engine did not help. I think stating this case is important.

It took me 1/2 second to NOT find it:

image

As AVIF is now a common web file format, I thought it was supported.

We support the formats Go(lang) have decoders for. AVIF is not one of them (common or not).

@bep bep closed this Feb 14, 2025
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.

3 participants