ZAPD icon indicating copy to clipboard operation
ZAPD copied to clipboard

Grayscale images

Open GabrielCNoble opened this issue 1 year ago • 0 comments

Is there a technical reason for ZAPD to not handle grayscale textures as input? I was looking over the code once it erroed out on one of those and noticed that it's does seem to handle PNG_COLOR_TYPE_GRAY_ALPHA when reading a png, but it throws an error when trying to compute the number of bytes per pixel.

The workaround for me was to export my texture as rgba8 before feeding it to ZAPD.

GabrielCNoble avatar Oct 16 '24 15:10 GabrielCNoble