Skip to content
  • Étienne Charignon's avatar
    Optimisation de la taille des PNG avec optipng · ec330b41
    Étienne Charignon authored
    (primtuxmenu) 16:27 ~/Documents/lazone/primtuxmenu (master=) % find . -name "*.png" -exec optipng {} \;
    ** Processing: ./cypress/screenshots/sample_spec.js/Screenshots -- session prof.png
    1280x768 pixels, 4x8 bits/pixel, RGB+alpha
    Reducing image to 3x8 bits/pixel, RGB
    Input IDAT size = 109466 bytes
    Input file size = 109523 bytes
    
    Trying:
      zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 68566
    
    Selecting parameters:
      zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 68566
    
    Output IDAT size = 68566 bytes (40900 bytes decrease)
    Output file size = 68623 bytes (40900 bytes = 37.34% decrease)
    
    ** Processing: ./cypress/screenshots/sample_spec.js/Screenshots -- session maxi.png
    1280x768 pixels, 4x8 bits/pixel, RGB+alpha
    Reducing image to 3x8 bits/pixel, RGB
    Input IDAT size = 88558 bytes
    Input file size = 88615 bytes
    
    Trying:
      zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 61549
    
    Selecting parameters:
      zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 61549
    
    Output IDAT size = 61549 byte...
    ec330b41