Table 1

Speed comparison of software to extract a 256×256 rectangle from a huge TIFF image
Image size (px) 11264×4384 45056×17536 180224×70144
tifffastcrop 0.30 s 0.30 s 0.30 s
GraphicsMagick 0.74 s 23.6 s >80 min
ImageMagick 1.18 s 236 s failed
tiffcrop 0.50 s failed seg. fault

Time needed (or indication of failure when the task was not completed) by several software tools to extract a rectangular region of size 256×256 pixels situated at the bottom right corner of huge TIFF images, and to save it as an independent file. The input images were single-image tiled TIFF files using JPEG compression. Their dimensions are indicated in the top row. The computer used was a 2.6 GHz Intel Core i7 Mac Mini with 16 GiB of RAM and more than 100 GiB of free hard disk. The tested software tools were, from top to bottom, tifffastcrop from our LargeTIFFTools, GraphicsMagick 1.3.17, ImageMagick 6.8.0-7 and the utility tiffcrop from LibTIFF 4.0.3.

Deroulers et al.

Deroulers et al. Diagnostic Pathology 2013 8:92   doi:10.1186/1746-1596-8-92

Open Data