*sigh*
…I found more variants.
- oxipng --opt max --strip all --nc “$original_image” --out “$path_to_oxi_nc_output”
- --nc: Preserve the original image’s colour type (e.g. RGB(A), grayscale, or indexed colours).
- Listed as the “Oxi-NC” entry.
- oxipng --opt max --strip all --nc --zopfli “$original_image” --out “$path_to_oxi_nc_zf_output”
- Listed as the “Oxi-NC-ZF” entry.
Wanna know the worst part? It’s not a one off result. In fact, it actually improved four images in terms of the smallest PNG encoding possible.
All original input images use the RGB(A) colour type.
And yes, the --nc --zopfli variant can lose to the --nc variant, so we need both.