Content-Length: 281493 | pFad | https://github.com/flutter/flutter/issues/144438

6D Remove redundant codecs on iOS. · Issue #144438 · flutter/flutter · GitHub
Skip to content

Remove redundant codecs on iOS. #144438

@chinmaygarde

Description

@chinmaygarde

The Flutter Engine ships codecs for commonly supported formats. When the application requests image decoding from a file, these built-in codecs are queried. If these codecs are unable to decompress the image, the engine asks the platform codecs to try. In this way, the application gets a base set of codecs they can depend on while also getting support for newer codecs available on the platform.

However, the codecs supported on the platform are usually a superset of those supported by the Flutter Engine.

Removing all built-in codecs from the Flutter Engine is possible with minimal impact to end users. However, codecs like WebP were added to iOS in iOS 14 while Flutter supports versions as old as iOS 12. Other codecs like PNG and JPEG have always been available on iOS but there might be differences in the way the engine codecs and the platform codecs work.

We should consider removing these codecs to save on binary size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Flutterteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/144438

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy