An open API service indexing awesome lists of open source software.

https://github.com/serilum/screenshot-compression

📸 Automatically compress screenshots taken in-game to lower file size with various config options.
https://github.com/serilum/screenshot-compression

curseforge fabric forge minecraft mod modding modrinth natamus neoforge quilt rick-south screenshot-compression serilum

Last synced: 3 months ago
JSON representation

📸 Automatically compress screenshots taken in-game to lower file size with various config options.

Awesome Lists containing this project

README

        

Screenshot Compression


Download


You can download Screenshot Compression on CurseForge and Modrinth:

  CurseForge:   https://curseforge.com/minecraft/mc-mods/screenshot-compression
  Modrinth:      https://modrinth.com/mod/screenshot-compression


Issue Tracker


To keep a better overview of all mods, the issue tracker is located in a separate repository.
  For issues, ideas, suggestions or anything else, please follow this link:


    -> Issue Tracker


Pull Requests


Because of the way mod loader files are bundled into one jar, some extra information is needed to do a PR.
  A wiki page entry about it is available here:


    -> Pull Request Information


Mod Description




Requires the library mod Collective.


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.


Configurable: ( how do I configure? )



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.



 



------------------

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.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!