Extracting a tiff directory

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Feb 8 16:14:54 EST 2012


Hi all,

  I am playing with openslide command line tools and I wondering if
there is an easy way for me to extract the first tiff directory in a
SVS file ? Say for example CMU-1.svs reads as:

TIFF Directory at offset 0x95d7a10 (157121040)
  Subfile Type: (0 = 0x0)
  Image Width: 46000 Image Length: 32914 Image Depth: 1
  Tile Width: 256 Tile Length: 256
  Bits/Sample: 8
  Compression Scheme: JPEG
  Photometric Interpretation: RGB color
  YCbCr Subsampling: 2, 2
  Samples/Pixel: 3
  Planar Configuration: single image plane
  ImageDescription: Aperio Image Library v10.0.51
46920x33014 [0,100 46000x32914] (256x256) JPEG/RGB Q=30|AppMag =
20|StripeWidth = 2040|ScanScope ID = CPAPERIOCS|Filename = CMU-1|Date
= 12/29/09|Time = 09:59:15|User =
b414003d-95c6-48b0-9369-8010ed517ba7|Parmset = USM Filter|MPP =
0.4990|Left = 25.691574|Top = 23.449873|LineCameraSkew =
-0.000424|LineAreaXOffset = 0.019265|LineAreaYOffset = -0.000313|Focus
Offset = 0.000000|ImageID = 1004486|OriginalWidth =
46920|Originalheight = 33014|Filtered = 5|ICC Profile = ScanScope v1
  ICC Profile: <present>, 141992 bytes
  JPEG Tables: (289 bytes)


tiffcp just gave up on it.

Thanks !
-- 
Mathieu


More information about the openslide-users mailing list