App Store screenshot export preflight exercise
Nativ, 8 November 2026

This is an original local inventory tool and synthetic test data. The six PNGs
are plain colour fields. They are NOT app screenshots, localisation outputs or
assets to submit to Apple. No customer data, fonts or generated interface.

Use Python 3.9 or later. No packages, network calls, writes, uploads or account
credentials are required by the checker. It reads local PNG metadata and a JSON
manifest. Run from this extracted folder:

python3 check_exports.py broken-manifest.json
Expected: exit 1, three errors: wrong dimensions, alpha channel, missing slot.

python3 check_exports.py fixed-manifest.json
Expected: exit 0, four ordered rows, no errors or warnings.

The alpha test file is fully opaque RGBA. Its alpha CHANNEL is deliberately
present even though the pixels have no visible transparency.

For your own export batch, place the manifest and PNGs in one folder, set the
profile width/height from Apple's CURRENT specifications for the device group
and orientation you are delivering, declare your required locales/ordered slots,
and point each asset row to its relative file. Use one profile per manifest.
The 1290 x 2796 profile in this exercise is an example, not a universal required
size or a complete set of every App Store device requirement.

Checks: declared/missing/duplicate locale+slot, files within the manifest folder,
PNG signature/header/chunk CRC/end, width/height, alpha or tRNS transparency,
and identical-file warnings. Files above 32 MiB are outside the tool's limit.
The declared slot order is an upload checklist; the tool does not upload it.

Limits: no pixel decoding, language detection, translation/linguistic approval,
layout judgment, Apple SDK/device-requirement inference, metadata upload or App
Review approval. A fully translated sentence can still be in the wrong screen.
Same PNG bytes can be intentional across locales; inspect that warning yourself.
PNG only. JPEG and app previews/video need separate format-specific checks.
The chunk checks do not replace opening the actual image in a decoder/viewer.

You may use and adapt this original exercise and checker.
