mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +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); ``` |
||
---|---|---|
.. | ||
Builder | ||
Properties | ||
Resources/img | ||
Util | ||
PKHeX.Drawing.PokeSprite.csproj |