Open pytho12 opened 9 months ago
I have now mastered the method of encoding rgb24 to jpg, but I still don’t know the method of encoding rgb32 to jpg. Can you share it?
rgb32(assuming rgb + 8 bit alpha) support is not well defined in the JPEG standard. nvjpeg encode only 1 and 3 channel images. You will need to convert rgb32 to rgb 24 before calling nvjpeg encoder.
I have now mastered the method of encoding rgb24 to jpg, but I still don’t know the method of encoding rgb32 to jpg. Can you share it?