Skip to content

feat: accept WebP uploads for assets #7718

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 2, 2025

Conversation

keturn
Copy link
Contributor

@keturn keturn commented Mar 1, 2025

Summary

Accept WebP images for image asset upload (including drag-and-drop).

Related Issues / Discussions

Fixes #6766

QA Instructions

  • Upload .webp image as canvas asset using upload button.
  • Drag .webp file on to the canvas.
  • In model manager, upload webp image for model thumbnail.

Merge Plan

N/A

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Mar 1, 2025
@keturn keturn force-pushed the feat/webp-assets branch from 4c96478 to 439abaf Compare March 1, 2025 18:58
@keturn keturn force-pushed the feat/webp-assets branch from 439abaf to 82cd7c6 Compare March 1, 2025 18:59
@hipsterusername
Copy link
Member

How are these then processed in workflows? Have you tested that all image-based nodes work with webp?

@psychedelicious
Copy link
Collaborator

All images are converted to PNG after they enter the system. I don't think it will cause problems w app functionality.

@hipsterusername hipsterusername merged commit 29cf4bc into invoke-ai:main Mar 2, 2025
15 checks passed
@keturn keturn deleted the feat/webp-assets branch March 3, 2025 16:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[enhancement]: Upload and Extended Image Format Support
3 participants