Steve, there is a big probability the image format is supported by JAI library. If so, you may implement a custom resource loader, which reads the JPEG (using JAI library), and converts it on a fly to any PD4ML-friendly image format.

I’ve attached a sample of TIFF loader to start the implementation from.