[pacman-dev] [PATCH 1/1] add option to optimize PNG images with optipng

Allan McRae allan at archlinux.org
Sun Jan 25 06:58:08 UTC 2015


On 25/01/15 16:45, Pierre Schmitz wrote:
> 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.
> 

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


More information about the pacman-dev mailing list