I am trying to compress PNG images into JPEGXR using imagecodecs library (imported jpegxr_encode, jpegxr_decode, jpegxr_check, jpegxr_version, JPEGXR). The function I wrote is in the image:
code
However I keep getting this error: ValueError: PKPixelFormatGUID not found
From the imagecodecs documentation this is what I found concerning the error:
error documentation
but I don’t really understand what it means and resources for understanding imagecodecs in general are really sparse.
Could somebody please help me out?
Thank you
Tessa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1