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
The export script uses a path based on the image's name to save the image to disk, either to use in a zip or to include into the PDF.
But the save fails if the name contains unicode characters.
# create name to save image
original_name = image.getName()
img_name = os.path.basename(original_name)
img_name = "%s_%s.tiff" % (idx, img_name)
# Save Image to file, then bring into PDF
pil_img.save(img_name)
Simply need to remove unicode characters - Not too important to preserve the name exactly as they are only used to recognise the images in a zip if user chooses to export "with images".
The text was updated successfully, but these errors were encountered:
The export script uses a path based on the image's name to save the image to disk, either to use in a zip or to include into the PDF.
But the save fails if the name contains unicode characters.
See https://forum.image.sc/t/omero-figure-export-error/70861
Simply need to remove unicode characters - Not too important to preserve the name exactly as they are only used to recognise the images in a zip if user chooses to export "with images".
The text was updated successfully, but these errors were encountered: