Convert Multipage TIFF to Individual Single Pages with BigTIFF output allowed.
Posted: 2015-12-16T15:28:14-07:00
Dear Community,
I am working with histology TIFFs. Sometimes they are as big as 3 GBs. They are multipage tiffs (12 pages). My platform is Xubuntu with ImageMagick installed and up-to-date. I need to convert the multipage tiffs to single tiff files. I do, like this:
It works. (input) multipageimage.tif --> (output) single0.tif, single1.tif,single2.tif, single3.tif... etc.
PROBLEM: during the process of extracting each page, an error is thrown: "TIFFAppendToStrip:Maximum TIFF file size exceeded," and this is because single2.tif has a total size that is greater than 3.99 GB, so it cannot be contained within the regular tiff file format. Unfortunately, single2.tif contains important information at high-resolution that is necessary when I move into a later image pyrimiding step in my workflow.
QUESTION: how do I convert multipageimage.tif into individual pages but tell ImageMagick that, when necessary, create a BigTiff file to accommodate.
I very much appreciate any help. Thank you very much for considering.
Sincerely,
mike
I am working with histology TIFFs. Sometimes they are as big as 3 GBs. They are multipage tiffs (12 pages). My platform is Xubuntu with ImageMagick installed and up-to-date. I need to convert the multipage tiffs to single tiff files. I do, like this:
Code: Select all
sudo convert multipageimage.tif single%d.tif
PROBLEM: during the process of extracting each page, an error is thrown: "TIFFAppendToStrip:Maximum TIFF file size exceeded," and this is because single2.tif has a total size that is greater than 3.99 GB, so it cannot be contained within the regular tiff file format. Unfortunately, single2.tif contains important information at high-resolution that is necessary when I move into a later image pyrimiding step in my workflow.
QUESTION: how do I convert multipageimage.tif into individual pages but tell ImageMagick that, when necessary, create a BigTiff file to accommodate.
I very much appreciate any help. Thank you very much for considering.
Sincerely,
mike