textures/loadpng: option flags for grayscale, etc