Skip to content

optipng should be ran on all images #7073

@pimlie

Description

@pimlie

The problem

Many images seem way larger then what is strictly required. F.e. https://github.com/home-assistant/brands/blob/master/custom_integrations/xsense/dark_logo.png is 1.6MB, but after running optipng this file is only 22KB

Additional information

It seems that optipng could/should be ran once for all existing images. This would probably significantly reduce the 'release' size. Alternatively optipng could be ran for all images during build, but this would probably cause a significant increase in build time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions