Skip to content

fix: convert icons from 16-bit to 8-bit color depth#111

Merged
robcohen merged 1 commit intomainfrom
fix/icon-color-depth
Apr 3, 2026
Merged

fix: convert icons from 16-bit to 8-bit color depth#111
robcohen merged 1 commit intomainfrom
fix/icon-color-depth

Conversation

@robcohen
Copy link
Copy Markdown
Member

@robcohen robcohen commented Apr 3, 2026

Summary

The PNG icons were using 16-bit/color RGBA instead of standard 8-bit/color RGBA. This caused Tauri to fail on ARM64 macOS with:

invalid icon: The specified dimensions (32x32) don't match the number of pixels 
supplied by the `rgba` argument (2048). For those dimensions, the expected pixel 
count is 1024.

The 16-bit color depth caused the PNG decoder to return twice the expected data, which Tauri interpreted as incorrect dimensions.

Changes

  • Converted all PNG icons to 8-bit/color RGBA

Test plan

  • CI passes on all platforms
  • Smoke test passes on ARM64 macOS (macos-14)
  • App launches successfully on macOS

Fixes #91

🤖 Generated with Claude Code

The PNG icons were using 16-bit/color RGBA which caused Tauri to fail
on ARM64 macOS with "invalid icon: dimensions don't match pixel count".
Converting to standard 8-bit/color RGBA fixes the startup crash.

Fixes #91

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@robcohen robcohen merged commit 0bc4ef3 into main Apr 3, 2026
29 checks passed
@robcohen robcohen deleted the fix/icon-color-depth branch April 3, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rustfava 0.1.8 (and 0.1.5) crash on start on Mac M2 running Sequoia

1 participant