#Invalid Icon RGBA Argument

2 messages · Page 1 of 1 (latest)

midnight minnow
#

For some reason I tried to run pnpm tauri dev I keep getting this error Failed to setup app: runtime error: invalid icon: The length of the `rgba` argument (354042) isn't divisible by 4, making it impossible to interpret as 32bpp RGBA pixels.. Even when I change the icon to random static I still get errors Failed to setup app: runtime error: invalid icon: The specified dimensions (1x6) don't match the number of pixels supplied by the `rgba` argument (24). For those dimensions, the expected pixel count is 6. Is there something that can be done for this?

latent spade
#

Are you using pnpm tauri icon /path/to/icon.png to generate the icon files?