Screenshot Compression can be useful for players that take a lot of screenshots, but don't have a lot of space left on their HDD/SSD's. The default settings reduce file sizes by 30%, with barely any visible difference. There are however multiple config options available to increase that number, by for example reducing the amount of colours or gradients.
Another effective option is to reduce the screenshot dimensions while maintaining the aspect ratio.
All available config options:
Show Spoiler
sendScreenshotCompressMessage default false
Whether a message should be sent in the chat of how much the screenshot size was compressed.
keepOriginalScreenshot default false
If the original, uncompressed, screenshot should be saved in ./screenshots/original/.
compressionQuality default 0F, min 0F, max 1F
The quality of the compressed screenshot. 0 is the strongest compression, 1 the weakest.
screenshotResizePercentage default 100, min 1, max 100
By default on 100%, so disabled. Resize taken screenshots to a lower resolution, while maintaining the aspect ratio. A lower number, means a lower file size.
stripPngAlphaChannel default true
Whether the screenshot's alpha channel should be removed. This means the PNG doesn't support transparancy, but since Minecraft screenshots don't have that it's safe to use.
stripScreenshotMetadata default false
If the screenshot metadata should be kept or not. When removes, it lowers the file size slightly.
reduceAmountOfColours default false
Limits the number of colors used in the image to improve compression. When enabled, fewer colors are used, which reduces the file size but may alter the image’s appearance slightly.
reducedColourAmount default 256, min 0, max 256
The amount of colours that are used when 'reduceAmountOfColours' is enabled.
reduceGradient default false
Controls the reduction of color gradients to improve compression. When enabled, it simplifies color transitions, either by smoothing or adding noise, to reduce file size while maintaining visual quality.
A screenshot being saved with compression enabled:
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
External resources
Project members
Serilum
Member

