Returns a photo as a JPEG image from Frame.
Note: The camera sensor on Frame is rotated 90 degrees clockwise, so raw images are rotated, but by default
RxPhoto will correct this by rotating -90 degrees.
If you want to save the cost of copyRotate here you can specify upright=false in the constructor
since some ML packages allow for specifying the orientation of the image when passing it in.
Pairs with frame.camera.read_raw(), that is, jpeg header and footer
are not sent from Frame - only the content, using non-final and final message types
Jpeg header and footer are added in here on the client, so a quality level
must be provided to select the correct header. Returns a Stream with exactly one jpeg as bytes, then is Done