You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending images by writing to a file object now works in the python client, through the Lightning.image method, but it only works for format='png' (as the argument to imsave); using jpeg fails during the post request with a 500 error. Can others try this? Maybe an issue with my local image libraries, but maybe a problem on the backend. Fine to stick with pngs, but I thought jpeg might be faster to transfer.
The text was updated successfully, but these errors were encountered:
@freeman-lab I got the following error when I tried using format='jpeg'
E ValueError: Format "jpeg" is not supported.
E Supported formats: emf, eps, pdf, png, ps, raw, rgba, svg, svgz.
it seems like imsave doesn't support jpeg. I'll keep improving the error handling on this so we can start getting more informative messages than 500 error
Sending images by writing to a file object now works in the python client, through the
Lightning.image
method, but it only works forformat='png'
(as the argument toimsave
); usingjpeg
fails during the post request with a 500 error. Can others try this? Maybe an issue with my local image libraries, but maybe a problem on the backend. Fine to stick withpngs
, but I thoughtjpeg
might be faster to transfer.The text was updated successfully, but these errors were encountered: