mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 04:23:12 +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 |