2
0
Fork 0
mirror of https://github.com/kwsch/PKHeX synced 2025-02-03 07:03:30 +00:00
PKHeX/PKHeX.Drawing.PokeSprite/Resources
Kurt e6ad7c12cd Wipe transparent pixels in Silvally form sprites
Closes 
```
	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);
```
2024-01-02 15:47:06 -08:00
..
img Wipe transparent pixels in Silvally form sprites 2024-01-02 15:47:06 -08:00