mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-24 15:24:19 -05:00
Closes #4103 ``` var pixels = System.Runtime.InteropServices.MemoryMarshal.Cast<byte, uint>(data); foreach (ref var x in pixels) { bool isTransparent = (x >> 24) == 0; if (isTransparent) x = 0; // ensure rgb is zero too } ImageUtil.GetBitmap(data, w, h).Save(path); ``` |
||
|---|---|---|
| .. | ||
| Builder | ||
| Properties | ||
| Resources/img | ||
| Util | ||
| PKHeX.Drawing.PokeSprite.csproj | ||