Skip to content

Instantly share code, notes, and snippets.

@Winterhuman
Last active September 26, 2023 04:22
Show Gist options
  • Save Winterhuman/d19889d0d44c6403c8b43d3803c5cf55 to your computer and use it in GitHub Desktop.
Save Winterhuman/d19889d0d44c6403c8b43d3803c5cf55 to your computer and use it in GitHub Desktop.
Strange OxiPNG-PNGQuant results
# Explanation
PNGQuant: `pngquant --quality 100-100 --speed 1 --strip`
OxiPNG: `oxipng --opt max --strip all --alpha`
OxiPNG-ZF: `oxipng --opt max --strip all --alpha --zopfli`
Oxi-Quant: "PNGQuant" > "OxiPNG" (non-ZF)
# Results
--------------------------------------------------------------------------------------------------------
New dev build | Current v8.0.0 build
--------------------------------------------------------------------------------------------------------
Filename: 'tag-design.png' |
Original Filesize: 185 bytes |
PNGQuant Filesize: 130 bytes |
OxiPNG Filesize: 119 bytes | OxiPNG Filesize: 132 bytes
OxiPNG-ZF Filesize: 117 bytes | OxiPNG-ZF Filesize: 128 bytes
Oxi-Quant Filesize: 119 bytes | Oxi-Quant Filesize: 130 bytes
--------------------------------------------------------------------------------------------------------
Filename: 'section-series.png' |
Original Filesize: 197 bytes |
PNGQuant Filesize: 160 bytes |
OxiPNG Filesize: 163 bytes | OxiPNG Filesize: 161 bytes
OxiPNG-ZF Filesize: 157 bytes | OxiPNG-ZF Filesize: 160 bytes
Oxi-Quant Filesize: 160 bytes | Oxi-Quant Filesize: 160 bytes
--------------------------------------------------------------------------------------------------------
Filename: 'post-small_pixel_art.png' |
Original Filesize: 402 bytes |
PNGQuant Filesize: 333 bytes |
OxiPNG Filesize: 312 bytes | OxiPNG Filesize: 325 bytes
OxiPNG-ZF Filesize: 313 bytes | OxiPNG-ZF Filesize: 321 bytes
Oxi-Quant Filesize: 324 bytes | Oxi-Quant Filesize: 324 bytes
--------------------------------------------------------------------------------------------------------
Filename: 'post-resource-general.png' |
Original Filesize: 800 bytes |
PNGQuant Filesize: 435 bytes |
OxiPNG Filesize: 401 bytes | OxiPNG Filesize: 416 bytes
OxiPNG-ZF Filesize: 390 bytes | OxiPNG-ZF Filesize: 410 bytes
Oxi-Quant Filesize: 401 bytes | Oxi-Quant Filesize: 401 bytes
--------------------------------------------------------------------------------------------------------
Filename: 'Invert.png' |
Original Filesize: 1542935 bytes |
PNGQuant Filesize: 1586364 bytes |
OxiPNG Filesize: 1506472 bytes | OxiPNG Filesize: 1506742 bytes
OxiPNG-ZF Filesize: 1500263 bytes | OxiPNG-ZF Filesize: 1502437 bytes
Oxi-Quant Filesize: 1504355 bytes | Oxi-Quant Filesize: 1502382 bytes
--------------------------------------------------------------------------------------------------------
Filename: 'Hyper Cube Background II.png' |
Original Filesize: 605777 bytes |
PNGQuant Filesize: 617188 bytes |
OxiPNG Filesize: 580548 bytes | OxiPNG Filesize: 577274 bytes
OxiPNG-ZF Filesize: 573101 bytes | OxiPNG-ZF Filesize: 573101 bytes
Oxi-Quant Filesize: 580548 bytes | Oxi-Quant Filesize: 577729 bytes
--------------------------------------------------------------------------------------------------------
Filename: 'tag-css.png' |
Original Filesize: 4780 bytes |
PNGQuant Filesize: 2474 bytes |
OxiPNG Filesize: 2261 bytes | OxiPNG Filesize: 2258 bytes
OxiPNG-ZF Filesize: 2261 bytes | OxiPNG-ZF Filesize: 2256 bytes
Oxi-Quant Filesize: 2261 bytes | Oxi-Quant Filesize: 2256 bytes
--------------------------------------------------------------------------------------------------------
Filename: 'tag-meta.png' |
Original Filesize: 780 bytes |
PNGQuant Filesize: 545 bytes |
OxiPNG Filesize: 414 bytes | OxiPNG Filesize: 526 bytes
OxiPNG-ZF Filesize: 412 bytes | OxiPNG-ZF Filesize: 526 bytes
Oxi-Quant Filesize: 414 bytes | Oxi-Quant Filesize: 525 bytes
--------------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment