It’ll only be PNG images for now (because other image types like jpeg compress the final image, which changes the pixels where the information is stored)
I don’t have another detection method other than attempting to decode currently, but I can try and think of something