magefree / magefree/mage

Images - support for Scryfall WEBP , Maybe add AVIF too for future ?

Open
#15,577 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

I just notice that Scryfall uses `.webp`, then I check new card and some old scan, it was pretty much -50% in KB for 2 cards I did look up (`voc-99-swords-to-plowshares` `msc-37-professor-hulk`). Picture quality was pretty 98% same
Last time when I ask about the top quality PNG, you were talking about file size, this would probably make it -40% for whole image gallery (mine is 20GB now, so 10-12GB if I would use WEBP)
and why not add support for AVIF while you add WEBP, there are few websites who use it nowadays.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Java client path that loads and displays Scryfall card images, since the issue names no files or tests. Check the two referenced cards, voc-99-swords-to-plowshares and msc-37-professor-hulk, and determine how image formats are currently handled. Done should be defined as reliable support for WEBP, with AVIF scope confirmed separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.