[pacman-dev] [PATCH 1/1] add option to optimize PNG images with optipng
pierre at archlinux.de
Sun Jan 25 06:45:46 UTC 2015
Am 22.01.2015 09:36, schrieb Christian Hesse:
> From: Christian Hesse <mail at eworm.de>
> This can decrease package size by optimizing PNG image size. Images are
> just stored with better compression and/or filter options. The actual
> image content is not altered.
> Additionally this can automatically fix broken PNG images which caused
> some trouble lately.
> Signed-off-by: Christian Hesse <mail at eworm.de>
I am not sure it is wise to use such a feature on Arch. One could say it
alters the package in a way that was not intended by upstream. And
similar to other downstream patches we add: It would be better for every
user of such software if those png files are optimized by the upstream
project. Especially if they are broken.
One could implement a namcap rule that checks for broken pngs or those
that can be optimized.
Pierre Schmitz, https://pierre-schmitz.com
More information about the pacman-dev