Hi Lachie,
Glad that the image cropping worked. NB: these new images are full copies of the pixel data so will take up extra space on disk, especially since they are not compressed like the original .svs files.
In what format do you want to export the images? RGB tiff or OME-TIFF?
How big are the images you're exporting (size X & Y)?
If you want to export as 8bit TIFF (or png or jpeg) and your images are not "too big" then you can remove the check in the Batch_Image_Export script that checks for "tiled" images.
https://github.com/ome/scripts/blob/dev ... rt.py#L394- Code: Select all
if img._prepareRE().requiresPixelsPyramid():
log(" ** Can't export a 'Big' image to %s. **" % format)
if len(images) == 1:
return None, "Can't export a 'Big' image to %s." % format
continue
else:
log("Exporting image as %s: %s" % (format, img.getName()))
Then select the images to export, launch the script, choosing NOT to "Export Individual Channels" (just the Merged Image) and choose TIFF (or other format) at the bottom.
This will try to get the whole rendered plane for the image and save it as a TIFF for each image in a zip file for download.
NB: if this is large, you probably want to delete the zip after download (it will be attached to the image).
This worked fine for me just now with a 4k * 6k image, but you'll have to try and see if it works for you (or causes problems for your server).
If this fails then you might need to try reading data in tiles and assembling into full images in the client?
Let us know how it goes!
Will.