mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8239] [Feature]: Option to save Illustrator images as WebP instead of PNG #8173
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @boricha417 on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8239
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Generated illustrations are stored as PNG at about 1.5-2 MB each, so a daily Illustrator user fills a small VPS disk within a couple of months.
I re-encoded my chat galleries to WebP at quality 95 (Docker server, 2.5.x):
Proposed solution
An option in the image generation (Illustrator) settings to save generated images as WebP instead of PNG, with a quality setting. PNG stays the default, so nothing changes for anyone who does not opt in.
Alternatives considered
Re-encoding images after the fact from the browser (what I do now). It works for Roleplay and Conversation galleries, but it is an extra step for every user and cannot cover every place the engine stores images, so a save-time option in the engine would be simpler for everyone.
Additional context
The server already has
sharp(gallery thumbnails are WebP) and the gallery already accepts and serves.webpfiles, so the conversion could happen once, right before the file is written, with no provider changes.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 25, 2026):
We will add a toggle in Generations Settings > Overall Generations to switch the download format to
.webp.@SpicyMarinara commented on GitHub (Oct 25, 2026):
@SpicyMarinara / Codex is implementing this issue in the media-support lane of the assigned-issue sweep, targeting staging. Ownership:
/root/engine_media_support; branchfix/sweep-media-support-20261025. The draft PR will cover the related video model support and opt-in generated-image storage changes, with validation and review before it is marked ready.@SpicyMarinara commented on GitHub (Oct 25, 2026):
Implemented in PR #8300, merged to
stagingas3ffae95df89001f4d5116c344687ac0dd3fe57bdfrom reviewed head0f9304f169dfe1b6056609cceb9bf18f9b30f7a6.Generations Settings → Overall Generations now offers opt-in WebP storage with configurable quality (default 95). PNG stays the default. Selecting WebP honors that format even when a particular output is larger; the help text accurately describes conditional size savings. Existing stored images are unchanged, and sprite/avatar intermediate flows retain the provider format they require.
Actual Sharp controls verify matching bytes/MIME/extension and exact alpha preservation. Actual Game route controls accept converted references; OpenRouter/xAI/Veo use supported inline bytes, while legacy direct Seedance uses its existing explicit temporary-upload option and gives precise guidance when that option is disabled. PNG/JPEG public URLs and opt-out behavior are preserved.
Full local and combined checks, focused format/route tests, substantive local review, current-head Dottore, required CI and platform jobs passed. Real-provider metadata round trips (including NovelAI invisible metadata) and physical-device checks are not claimed. Shared merge and staging evidence: https://github.com/Pasta-Devs/Marinara-Engine/pull/8300#issuecomment-6397349426