Screenshot Compression
📸 Automatically compress screenshots taken in-game to lower file size with various config options.
Screenshot Compression
<p style="text-align: center;"><center><a href="https://serilum.com/" target="_blank" rel="noopener noreferrer"><img src="https://cdn.serilum.com/description/header/header.png" alt="" width="838" height="400" /></a></p><p style="text-align: center;"><a href="https://curseforge.com/members/serilum/projects" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/curseforge.svg&w=400" width="200" /></a> <a href="https://modrinth.com/user/Serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/modrinth.svg&w=400" width="200" /></a> <a href="https://patreon.com/serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/patreon.svg&w=400" width="200" /></a> <a href="https://youtube.com/@serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/youtube.svg&w=400" width="200" /></a></center></p><p><strong><span style="font-size: 24px;">Requires the library mod <a style="font-size:24px" href="https://modrinth.com/mod/collective" target="_blank" rel="nofollow">Collective</a>.<br></span></strong></p>
<p><span style="font-size:18px">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.<br><br>Another effective option is to reduce the screenshot dimensions while maintaining the aspect ratio.<br></span><br><br><strong><span style="font-size:20px">Configurable:</span> <span style="color:#008000;font-size:14px"><a style="color:#008000" href="https://github.com/Serilum/.information/wiki/how-to-configure-mods" target="_blank" rel="nofollow">( how do I configure? )</a></span><br></strong></p>
<details><summary>Show Spoiler</summary>
<p><span style="font-size:12px"><strong>sendScreenshotCompressMessage</strong> (default = false): Whether a message should be sent in the chat of how much the screenshot size was compressed.</span><br><span style="font-size:12px"><strong>keepOriginalScreenshot</strong> (default = false): If the original, uncompressed, screenshot should be saved in ./screenshots/original/.</span><br><span style="font-size:12px"><strong>compressionQuality</strong> (default = 0F, min 0F, max 1F): The quality of the compressed screenshot. 0 is the strongest compression, 1 the weakest.</span><br><span style="font-size:12px"><strong>screenshotResizePercentage</strong> (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.</span><br><span style="font-size:12px"><strong>stripPngAlphaChannel</strong> (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.</span><br><span style="font-size:12px"><strong>stripScreenshotMetadata</strong> (default = false): If the screenshot metadata should be kept or not. When removes, it lowers the file size slightly.</span><br><span style="font-size:12px"><strong>reduceAmountOfColours</strong> (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.</span><br><span style="font-size:12px"><strong>reducedColourAmount</strong> (default = 256, min 0, max 256): The amount of colours that are used when 'reduceAmountOfColours' is enabled.</span><br><span style="font-size:12px"><strong>reduceGradient</strong> (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.</span></p>
</details>
<p> <br><br><img src="https://cdn.serilum.com/projects/screenshot-compression/a.png"></p>
<p><br>------------------<br><br><span style="font-size:24px"><strong>You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.</strong></span><br><br><span style="font-size:18px"><a style="font-size:18px;color:#008000" href="https://serilum.com/" target="_blank" rel="nofollow">Serilum.com</a> contains an overview and more information on all mods available.</span><br><br><span style="font-size:14px">Comments are disabled as I'm unable to keep track of all the separate pages on each mod.</span><span style="font-size:14px"><br>For issues, ideas, suggestions or anything else there is the <a style="font-size:14px;color:#008000" href="https://github.com/Serilum/.issue-tracker" target="_blank" rel="nofollow">Github repo</a>. Thanks!</span><span style="font-size: 6px;"><br /><br /></span></p>