blips/compressing-images.md
2023-11-26 19:09:26 -05:00

808 B

aggressively ensmallening images for web

adapted from rek's described steps here

assuming that you are compressing to jpeg using GNU Image Manipulation Program (which i like to call g-image):

  • scale down the image
    • scale the image to the smallest size you're willing to accept for your use case

the next steps are during the export step in g-image under the "advanced" menu:

  • reduce quality
    • set compression quality as low as 20 (or as low as you can accept)
  • smooth image
    • between .10 and .15
  • progressive sampling
    • check "progressive" in conversion menu (makes the image load in a smoother way on slow connections)
  • stripping metadata
    • strip it all
  • color subsampling
    • set to 4:2:0