File Format #8
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?
What file format should be used?
Currently, it is PNG, which might be a good choice for historic integrity.
However, other file formats, such as WebP and JPEG XL provide way better quality/size ratios.
The one that the screenshot was taken with
+1 with JPEG XL because IIRC it provides better compression ratios than WebP, but support for JPEG XL and WebP are much less widespread than PNG.
Perhaps the screenshots should be ran through a program like pngcrush to reduce the file sizes instead?
On a serious note, I don't think the file format is that important. Most people will take screenshots with Minecraft's built-in screenshot functionality, which will use PNGs.
I don't particularly want to re-encode all of the images while merging PRs or adding new screenshots, or force others to do so. But I'm not going to deny PRs or issues that add screenshots in different formats, so feel free to utilize different formats for your images if you wish.
from my personal experience, WebP is supported basically everywhere nowadays, not so much JPEG XL
I'm personally against using tools that make PNG ""better"" since:
(oops, misclick)
I suggest transcoding automatically to near-lossless WebP (or JPEG XL if it provides significantly smaller file sizes) IF repo size ever becomes an issue.
(which I doubt it ever will, since code.chipmunk.land has way bigger repos)
Testing out a few different file formats/compression formats on my images...
It should be noted that converting my images to pngcrush took about 3 minutes after making it use all my 24 CPU threads. (Ryzen 9 7900x)