Closed joshmoore closed 4 years ago
image.exportOmeTiff()
Previously where you did:
image = conn.getObject("Image", id)
Image.open(StringIO(image.renderJpeg))
now you need to do:
Image.open(BytesIO(image.renderJpeg))
That's not so much a BlitzGateway change, since it's just returning re.renderCompressed()
Same for:
Agreed. I think we add BytesIO, str.decode()
etc to a more general migration guide as opposed to our own CHANGELOG.
conn.createOriginalFileFromFileObj()
needs to take BytesIO
file object instead of StringIO.
Do we want to mention omero_type(longValue)
and omero.rtypes.wrap(longValue)
won't return rlong
?
Merging after a quick sign-off for posting on image.sc. Happy to have follow-ups. thanks, @will-moore.
cc: @ome/python