mobile: cut home animation assets by 9.9 MB - #208
Draft
0xSero wants to merge 1 commit into
Draft
Conversation
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Reduce the release weight of the two home-cat animations without changing their dimensions, frame count, cadence, transparency, or UI behavior. This is the first measured package reduction under #206.
What changed
project.ymlresources from APNG to WebP, then regeneratedLitter.xcodeprojthroughmake xcgen.Size impact
Fidelity checks
Verification
make xcgenANDROID_SDK_ROOT=/Users/sero/Library/Android/sdk ANDROID_HOME=/Users/sero/Library/Android/sdk JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk ./gradlew :app:mergeDebugResources --no-daemonxcodebuild -project apps/ios/Litter.xcodeproj -scheme Litter -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 17 Pro' -derivedDataPath /private/tmp/litter-assets-dd CODE_SIGNING_ALLOWED=NO buildLitter.appinto the iPhone 17 Pro simulator and launchedcom.sigkitten.litter; the home cat rendered with transparency and screenshots one second apart confirmed the animation advanced.Android resource compilation is proven here; physical Android rendering remains for reviewer/device acceptance.