[Feature Request] Reduce app size from 75MB to 13MB by crushing PNGs

未关闭 适合新手
#48 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
swift
领域
design

调研方向

负载中没有给出仓库路径,因此请先在仓库中找到指针手部的图片文件,并确定应用在哪里加载它们。报告者附上了一个名为 hands_crushed.zip 的压缩包(已链接在 issue 正文中),并展示了修改前后的截图。当替换后的图片在屏幕上看起来一致、打包资源的体积减小,并且维护者同意这一画质取舍时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

The images for the pointers can be crushed, immensely saving valuable storage space. I have attached them using extremely liberal settings (highest possible in pngquant) and have reduced them from 65.2MB to just 3.8MB. They are indistinguishable from their larger counterparts.

Before:

Screenshot 2026-11-22 at 7 37 20 AM

After:

Screenshot 2026-11-22 at 7 37 55 AM

I think this benefits everyone, especially the kids.

hands_crushed.zip

主要语言
Swift
星标
787
派生
80
平均合并
1 天 21 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nilbuild/tinyhand 的其他 Issue

查看 nilbuild/tinyhand 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。