Does the OpenCV included with UE5 come with JPEG compatibility?

Edit 01
Your are right it’s not. However #define HAVE_OPENJPEG is supported and it works for me.

In my local opencv folder (C:\opencv ) jpeg is supported in the cvconfig.h

/* IJG JPEG codec */
#define HAVE_JPEG

so yeah, it’s probably not supported in UE’s inbuilt version which is 4.5.
End Edit 01

I hope you found your answer. Your question helped me find a partial answer to my question here.

debugging exceptions in opencv

After reading your post I changed the type to png and everything worked fine !
I still need to learn how I’d go about debugging this via the call stack .

Cheers,
b