On 25/01/15 16:45, Pierre Schmitz wrote:
Am 22.01.2015 09:36, schrieb Christian Hesse:
From: Christian Hesse <mail@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@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.
Whether or not such a feature is used in Arch is a separate conversation, and I doubt we would even enable it. But note that this is just a compression method, much like using gzip in man and info pages. Allan