I would like to use function of libpng to decode png image and decode it into YUV444 data format, but I do not know which function to call, or how to write this custom callback function?
I find some code to use libpng to decode png image, but I do not know how to set the png data format (such as RGB888, YUV444, etc.).
I hope to be able to provide code based on libpng, very grateful.With C ++ / C
What I have tried:
I find some code to use libpng to decode png image, but I do not know how to set the png data format (such as RGB888, YUV444, etc.).