ionic-team / ionic-team/capacitor-assets

Output compression options

Open
#480 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
583
Forks
116
PR merge metrics
No merged PRs in 30d

Description

This may not be in-scope but I noticed that the png output is pretty large and uncompressed.
In fact XCode is giving [this warning](https://stackoverflow.com/questions/75151249/ios-app-warning-the-launch-screen-exceeds-the-memory-limit-and-may-not-display?noredirect=1#comment132616790_75151249).

> The launch screen exceeds the memory limit and may not display during app launch. Use images requiring less space

This ticket is a feature request to add max-file size targets to images. If an output file would exceed the budget perhaps compression could kick in.

Here is the default output folder and `compresspng` is compressed versions of those files.
Screenshot 2023-01-17 at 4 27 45 PM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.