mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1642] [Feature]: Gacha Forge — option to save generated art as WebP #1619
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1619
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-Agents/issues/1642
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Gacha Forge saves every generated picture (portraits, CGs, backgrounds, enemy art, banners) to the Global Gallery as PNG, about 1.7 MB each. One run (chapter 9 reached, four Character Stories played) had 206 pictures, 349 MB in total. Enemy art alone was 129 of them, and it keeps growing with every battle and chapter, so on a small VPS this is the fastest-growing part of the data folder.
Converted to WebP at quality 95 with the engine's own
sharp(Gacha Forge 1.8.12 / Engine 2.5.0, Docker):Proposed package or change
A change to the existing Gacha Forge package: when a generated picture is PNG, re-encode it to WebP before uploading it to the Global Gallery, with a quality option (and a way to keep PNG). Server code only; no UI change is needed beyond the setting. The Global Gallery already accepts
.webpuploads, so no engine change is needed.Why should this be optional?
It is a setting inside an existing package, not a new package. A format/quality option lets players who prefer PNG keep it.
Alternatives considered
Converting the files after the fact outside the package. That works but has to be repeated as new art is generated, so converting at save time is simpler.
Additional context
Slurp already converts its generated pictures to WebP before saving, so the same pattern would work here.
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):
Tied to:
https://github.com/Pasta-Devs/Marinara-Engine/issues/8239