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

Serve GIFs as well as WebP #1065

Merged
merged 2 commits into from
May 2, 2024
Merged

Serve GIFs as well as WebP #1065

merged 2 commits into from
May 2, 2024

Conversation

dinosaursrarr
Copy link
Contributor

Saw #1005 and thought it was a fun little challenge.

Tested that this worked locally for:

  • Previewing with WebP (default)
  • Previewing with GIF (passing --gif flag)
  • Updating config using either format
  • Exporting image using either format

Inspected the images shown and confirmed that it does generate a WebP or GIF file as appropriate, and that the src element is set to the appropriate image type.

dinosaursrarr and others added 2 commits April 30, 2024 22:13
Saw tidbyt#1005 and thought it was a fun little challenge.

Tested that this worked locally for:
 - Previewing with WebP (default)
 - Previewing with GIF (passing --gif flag)
 - Updating config using either format
 - Exporting image using either format

Inspected the images shown and confirmed that it does generate a WebP or GIF file as appropriate, and that the src element is set to the appropriate image type.
@rohansingh
Copy link
Member

Looks great, thanks for the PR!

@rohansingh rohansingh enabled auto-merge (squash) May 2, 2024 19:24
@rohansingh rohansingh disabled auto-merge May 2, 2024 19:24
@rohansingh rohansingh enabled auto-merge (squash) May 2, 2024 19:24
@rohansingh rohansingh merged commit 01442a4 into tidbyt:main May 2, 2024
7 checks passed
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.

2 participants