---
title: Compress App Icons for iOS & Android: Mobile Dev Workflows
description: Compress iOS @1x/@2x/@3x icons, Android density buckets, and App/Play Store screenshots in batch. A practical Zipic workflow for mobile app developers.
pubDate: 2026-05-06T00:00:00.000Z
author: Zipic Team
tags: ["mobile development", "iOS", "Android", "asset catalog", "Zipic"]
canonical: https://zipic.app/blog/image-compression-mobile-developers/
source: https://zipic.app
---
# Compress App Icons for iOS & Android: Mobile Dev Workflows

> Compress iOS @1x/@2x/@3x icons, Android density buckets, and App/Play Store screenshots in batch. A practical Zipic workflow for mobile app developers.

Mobile apps ship a density matrix that web tools weren't built for. iOS wants `@1x` / `@2x` / `@3x` for every raster icon; Android wants up to five density buckets. Add an `AppIcon` set, App Store screenshots at three display sizes, and a Play Store feature graphic, and a single release can carry hundreds of megabytes of source assets before anything compiles.

Generic web compressors don't fit. Asset Catalog and `res/drawable-*` pin every file by name; rename one and the build breaks. Xcode's `actool` does a *lossless* re-encode — it never trims bytes the way a real compressor would. And `fastlane snapshot` captures simulator-native pixels with no resize or compression of its own.

This guide walks through how to use **Zipic** — a native macOS image compressor with a URL Scheme, AppIntents, and folder monitoring — to plug those gaps without touching filenames or the `res/` tree.

<img src={mainWindow.src} alt="Zipic main window on macOS showing batch compression of iOS and Android app icons" class="rounded-lg" />

## Why Mobile Apps Need a Compression Strategy Web Tools Can't Provide

A web project usually ships *one* canonical image plus a `srcset`. A mobile project ships the canonical asset *and the entire density matrix*, every file pinned to a strict naming contract:

- iOS: `Icon.png`, `Icon@2x.png`, `Icon@3x.png` inside `AppIcon.appiconset`, with `Contents.json` naming every slot.
- Android: the same drawable in `mipmap-mdpi/`, `mipmap-hdpi/`, `mipmap-xhdpi/`, `mipmap-xxhdpi/`, `mipmap-xxxhdpi/`.

Three specifics that catch teams out:

- **Asset Catalog supports `.png`, `.jpg`, `.heic`, `.heif`, `.avci`, and `.pdf` — but not WebP.** Vector assets ship as PDF with "Preserve Vector Data" on. ([ImageSetType reference](https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_ref-Asset_Catalog_Format/ImageSetType.html))
- **`actool` is not a lossy compressor.** It re-encodes PNGs into a private premultiplied BGRA container; the bytes you ship come from the bytes you imported. ([Asset Catalog Format Overview](https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_ref-Asset_Catalog_Format/AssetTypes.html))
- **Android Studio's WebP wizard works one file at a time.** It handles lossy and lossless modes and skips 9-patch drawables, but it isn't a batch pipeline. ([Convert images to WebP](https://developer.android.com/studio/write/convert-webp))

You need a tool that compresses in place, preserves filenames, runs over a folder of densities at once, and skips formats it shouldn't touch.

## Compressing the iOS Icon Matrix Without Breaking Asset Catalog

Apple's [Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/app-icons) lay out the matrix:

| Slot | Points | @2x | @3x | Notes |
|---|---|---|---|---|
| iPhone app | 60 pt | 120×120 px | **180×180 px** | Required |
| Spotlight | 40 pt | 80×80 px | 120×120 px | Search results |
| Settings | 29 pt | 58×58 px | 87×87 px | Settings list |
| App Store marketing | — | — | **1024×1024 px** | sRGB, **opaque, no alpha**, **no rounded corners** |

Two HIG rules people miss:

1. **The 1024×1024 marketing icon is a flat opaque PNG with no alpha.** Apple applies the squircle mask itself; pre-rounded corners ship as visible double rounding.
2. **No alpha in any AppIcon slot.** A flattened JPEG-style export is what Apple expects.

For Liquid Glass icons across iPhone/iPad/Mac/Watch, [Icon Composer](https://developer.apple.com/icon-composer/) ([WWDC25 Session 361](https://developer.apple.com/videos/play/wwdc2025/361/)) outputs a single layered `.icon` document plus a flattened 1024 PNG for App Store Connect. Compress that flattened export with Zipic and the layered design stays untouched.

A safe Zipic preset for AppIcon assets:

| Setting | Value | Why |
|---|---|---|
| Format | `original` (PNG) | Asset Catalog won't take WebP |
| Quality | 2–3 | Visually lossless on iconography |
| Save location | `original` | Overwrite in place; `Contents.json` references stay valid |
| Resize | off | Never change icon dimensions |

<img src={compressionOptions.src} alt="Zipic compression options panel for iOS Asset Catalog icons on Mac" class="rounded-lg" />

Drop the `AppIcon.appiconset` folder onto Zipic and every PNG inside gets compressed with the active preset, filenames intact:

<video controls class="rounded-lg w-full">
  <source src="/videos/blog/drag-drop-en.mp4" type="video/mp4" />
</video>

For a build phase, the URL Scheme one-liner:

```bash
open "zipic://compress?url=$SRCROOT/AppIcon.appiconset&format=original&level=3&location=original"
```

`location=original` is what keeps `Contents.json` happy — every filename and relative path stays byte-identical.

## Android Density Buckets and Adaptive Icon Layers (mdpi → xxxhdpi)

Android replaces "@2x / @3x" with five density buckets keyed off `dpi` ([screen density reference](https://developer.android.com/training/multiscreen/screendensities)):

| Bucket | DPI | Scale vs. mdpi |
|---|---|---|
| `mdpi` | 160 | 1.0× (baseline) |
| `hdpi` | 240 | 1.5× |
| `xhdpi` | 320 | 2.0× |
| `xxhdpi` | 480 | 3.0× |
| `xxxhdpi` | 640 | 4.0× |

In integer pixel ratios — counting `ldpi` (0.75×) through `xxxhdpi` (4.0×) — that's **3 : 4 : 6 : 8 : 12 : 16**. A useful sanity check when scaling Figma exports up from a "1×" baseline.

Adaptive icons add another layer of structure ([Create app icons](https://developer.android.com/studio/write/create-app-icons), [`AdaptiveIconDrawable`](https://developer.android.com/reference/android/graphics/drawable/AdaptiveIconDrawable)):

- Foreground and background layers are each **108×108 dp**.
- The center **72×72 dp** is the safe zone the launcher will mask into circles, squircles, or teardrops.
- Android 13 added a **monochrome layer** for themed icons.

For runtime drawables (not adaptive icon layers), two format choices matter:

- **WebP** — safe lossy/lossless target on **API 17 (Android 4.2.1)+**, transparency included.
- **AVIF** — **API 31 (Android 12)+**. Early Android 12 implementations had quirks; test critical drawables on real devices before switching.

Source: [Reduce image sizes](https://developer.android.com/develop/ui/views/graphics/reduce-image-sizes).

Batch PNG-to-WebP across all five density folders at once:

```bash
open "zipic://compress?url=$PROJECT_DIR/app/src/main/res&format=webp&level=3&location=original"
```

Zipic walks the directory, compresses every PNG/JPEG, and writes WebP siblings (or replaces the originals if your build points at the new files). Vector `.xml` drawables are left alone.

<video controls class="rounded-lg w-full">
  <source src="/videos/blog/convert-images-en.mp4" type="video/mp4" />
</video>

The format picker for one-off tweaks:

<img src={saveFormat.src} alt="Zipic output format selector showing WebP, AVIF, PNG, JPEG, HEIC options for Android drawables" class="rounded-lg" />

## App Store and Play Store Screenshots: Resize + Compress in One Pass

**App Store** ([Screenshot Specifications](https://developer.apple.com/help/app-store-connect/reference/screenshot-specifications/), as of 2026-05):

| Display | Portrait pixels |
|---|---|
| 6.9-inch | **1320×2868** |
| 6.5-inch | **1284×2778** |
| 6.3-inch | **1179×2556** |

App Store Connect accepts `.jpeg`, `.jpg`, or `.png`, **1–10 screenshots per listing**.

**Google Play** ([Graphic asset rules](https://support.google.com/googleplay/android-developer/answer/9866151)):

| Asset | Spec |
|---|---|
| App icon | 512×512 32-bit PNG with alpha, **≤ 1024 KB** |
| Feature graphic | 1024×500 24-bit PNG/JPEG, **no alpha** |
| Screenshots | 24-bit PNG/JPEG; shortest side ≥ 320 px; longest side ≤ 3840 px; longest side ≤ 2× shortest side |
| Screenshot count | **2–8 per device type** |
| TV banner | 1280×720 |

The reason this needs a dedicated compression pass: [`fastlane snapshot`](https://docs.fastlane.tools/actions/snapshot/) captures at simulator-native resolution and [`fastlane deliver`](https://docs.fastlane.tools/actions/deliver/) uploads by filename match — neither tool resizes or compresses. A 1320×2868 PNG straight from the simulator is often 4–6 MB.

Zipic resizes and compresses in one URL Scheme call:

```bash
# 6.9-inch App Store screenshots → resized JPEG
open "zipic://compress?url=$HOME/fastlane/screenshots/en-US&format=jpeg&level=3&width=1320&height=2868&location=custom&directory=$HOME/store-uploads/ios-69"
```

```bash
# Play Store screenshots → 24-bit PNG inside the 320–3840 px envelope
open "zipic://compress?url=$HOME/fastlane/metadata/android/en-US/images/phoneScreenshots&format=png&level=3&width=1080&height=1920&location=custom&directory=$HOME/store-uploads/play"
```

<img src={resizeOptions.src} alt="Zipic resize options for App Store and Play Store screenshots on Mac" class="rounded-lg" />

Resize flow on a folder of screenshots — pick a target width, drop the folder, output is upload-ready:

<video controls class="rounded-lg w-full">
  <source src="/videos/blog/resizing-en.mp4" type="video/mp4" />
</video>

## Build a Folder-Monitoring Pipeline for Xcode / Android Studio Exports

URL Scheme calls are great inside a build phase or fastlane lane. The lowest-friction integration is no integration at all — point Zipic Pro's folder monitoring at the directories your tools already write to:

- `~/Design/figma-exports/` — auto-WebP every PNG/JPEG export
- `~/fastlane/screenshots/` — resize + compress before `deliver` runs
- `$DERIVED_DATA/.../*.png` — Xcode-built simulator screenshots
- `$PROJECT_DIR/app/src/main/res/drawable-xxxhdpi/` — Android Studio drawable exports

Each monitored folder uses its own preset, so lossless PNG for AppIcon assets, level-3 WebP for Android drawables, and resized JPEG for App Store screenshots all run concurrently on different folders.

<video controls class="rounded-lg w-full">
  <source src="/videos/blog/monitoring-demo-en.mp4" type="video/mp4" />
</video>

Settings live in **Zipic → Settings → Workflow**. Enable silent mode and URL Scheme calls fire from your build script without ever stealing focus from Xcode or Android Studio:

<img src={settingsWorkflow.src} alt="Zipic Workflow settings on Mac for silent URL Scheme compression in Xcode and Android Studio builds" class="rounded-lg" />

For a deeper walkthrough, see [macOS Automation: Auto-Compress with Folder Monitoring](/blog/auto-compress-folder-monitoring-mac/) and the [Monitoring Directory documentation](https://docs.zipic.app/guides/monitoring-directory-autocompression).

## App Thinning, Asset Catalog Quirks, and What Compression Cannot Fix

Compression is one lever. Both platforms already do meaningful asset thinning, and a good strategy stacks *with* them.

**iOS — App Thinning** ([WWDC15 Session 404](https://developer.apple.com/videos/play/wwdc2015/404/), [On-Demand Resources](https://developer.apple.com/help/app-store-connect/reference/app-uploads/on-demand-resources-size-limits/)):

- **Slicing** — App Store Connect builds device-specific variants; users only download what their hardware needs.
- **On-Demand Resources** — tagged assets ship lazily after install.
- **Bitcode** — Apple has wound it down for newer SDKs.

**iOS binary limits** ([Maximum Build File Sizes](https://developer.apple.com/help/app-store-connect/reference/app-uploads/maximum-build-file-sizes/)):

- Total uncompressed binary ≤ **4 GB**, and any single `__TEXT` segment ≤ **80 MB**.
- The **200 MB cellular cap is no longer a hard limit** — since iOS 13, users pick "Always Allow", "Ask If Over 200 MB", or "Always Ask" in Settings → App Store. Older blog posts still calling it a hard cap are out of date.

**Android — App Bundle limits** ([Maximum app size](https://support.google.com/googleplay/android-developer/answer/9859372)):

| Asset | Limit |
|---|---|
| AAB base module | ≤ 200 MB |
| Each feature module | ≤ 200 MB |
| Total install-time download | ≤ 4 GB |
| On-demand + fast-follow asset packs (combined) | ≤ 4 GB |
| Legacy APK upload | ≤ 100 MB |

A few "do nots" Zipic users sometimes ask about:

- **Don't compress `.car` files.** Asset Catalogs are compiled by `actool`; touching the `.car` breaks runtime asset lookup.
- **Don't lossy-compress 9-patch drawables.** Edge patch markers must remain pixel-exact. Android Studio's WebP wizard skips them on purpose; Zipic does too.
- **Don't change AppIcon dimensions.** HIG slots are fixed; only the bytes inside should shrink.

One design note: for toolbars, tab bars, and navigation chrome, Apple's HIG ([Icons](https://developer.apple.com/design/human-interface-guidelines/icons)) recommends **[SF Symbols](https://developer.apple.com/sf-symbols/)** over custom PNG/PDF assets. SF Symbols inherit Dynamic Type, weight, and Dark Mode for free — fewer files in the binary, better accessibility. Save custom assets for places where branding or semantics genuinely require them.

For format choice — when WebP wins, when HEIC is right, when to keep PNG — see [How to Choose the Right Image Format for Your Project](/blog/choose-right-image-format/).

## Putting It Together: A Realistic Mobile Pipeline

How the pieces fit on a small mobile team shipping iOS and Android from one repo:

1. **Designers** export from Figma to `~/Design/exports/{ios,android}/`. Monitored folders convert iOS exports to PNG Q3 and Android exports to WebP Q3.
2. **iOS engineers** drop new icon variants into `AppIcon.appiconset`. A pre-archive run-script phase calls `zipic://compress?url=$SRCROOT/AppIcon.appiconset&format=original&level=3&location=original` so every committed icon is already compressed.
3. **Android engineers** wire a Gradle task to call Zipic on `app/src/main/res` after `assembleRelease` — WebP everywhere except 9-patches and vector drawables.
4. **Release engineers** point a third monitored folder at `~/fastlane/screenshots/`. Snapshot captures land, get resized and compressed in seconds, and `deliver` picks them up untouched.

Nobody hand-tunes a slider. Presets enforce the standard, monitored folders enforce it automatically, and the URL Scheme is the build-time safety net.

## Related Articles

- [Image Compression for Web Developers: Automate Your Workflow](/blog/image-compression-for-web-developers/)
- [Image Compression Workflow for Design Teams: Figma/Sketch to CDN](/blog/image-compression-workflow-design-teams/)
- [Automate Image Compression with Apple Shortcuts and Zipic](/blog/automate-compression-apple-shortcuts/)
- [Batch Compress Images on Mac: Complete Tutorial](/blog/batch-compress-images-mac/)
- [How to Choose the Right Image Format for Your Project](/blog/choose-right-image-format/)
- [macOS Automation: Auto-Compress with Folder Monitoring](/blog/auto-compress-folder-monitoring-mac/)

*Full documentation: [Workflow Integration](https://docs.zipic.app/guides/optimizing-workflow) | [Monitoring Directory](https://docs.zipic.app/guides/monitoring-directory-autocompression) | [Image Compression Basic](https://docs.zipic.app/guides/image-compression-basic)*

---

Ready to plug compression into your iOS and Android build pipeline? [Download Zipic](https://zipic.app/Zipic.dmg) — free for 25 images per day. Every download includes a full 7-day Pro trial. [Zipic Pro](/#pricing) unlocks URL Scheme advanced parameters, AppIntents, folder monitoring, and unlimited batch processing — one-time purchase, no subscription.
