mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
e6ad7c12cd
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); ``` |
||
---|---|---|
.. | ||
accents | ||
Artwork Items | ||
Artwork Pokemon Sprites | ||
ball | ||
Big Items | ||
Big Pokemon Sprites | ||
Big Shiny Sprites | ||
Legends Arceus Shiny Sprites | ||
Legends Arceus Sprites | ||
Pokemon Sprite Overlays | ||
hint.png | ||
valid.png | ||
warn.png |