This commit is contained in:
2026-02-13 14:42:07 -08:00
parent df0527b123
commit fbc02af589
670 changed files with 55968 additions and 51275 deletions

View File

@@ -47,14 +47,13 @@ uint8_t *d, ucPix, ucAlpha, ucMask;
} // for each group of 8 pixels
} /* DrawPixelsMasked() */
int PNGDraw(PNGDRAW *pDraw)
void PNGDraw(PNGDRAW *pDraw)
{
uint8_t ucMask[32];
if (png.getAlphaMask(pDraw, ucMask, 255)) { // if any pixels are opaque, draw them
DrawPixelsMasked(pDraw->y, pDraw->pPixels, ucMask, pDraw->iWidth);
}
return 1;
} /* PNGDraw() */
void setup() {