Hi,<div><br></div><div>I&#39;m trying to use OpenSlide (openslide-win32-20120908) to read a partial-slide TIFF file exported from Aperio ImageScope. The file is recognized as an Aperio file but the component images are not interpreted correctly.</div>
<div><br></div><div>The first image is read by OpenSlide as the level 0 image. The second image is a thumbnail. The third image is a label image and the fourth is a macro image. OpenSlide ignores the second and third images and uses the macro image as the thumbnail.</div>
<div><br></div><div>My expectation is that the second image would be used as the thumbnail and the label and macro images would be included as associated images. Is this something that should work correctly or am I stretching OpenSlide a bit too much?</div>
<div><br></div><div>Below is the tiffinfo output for the image.</div><div><br></div><div>Thanks,</div><div>Kent</div><div><br></div><div><div>TIFF Directory at offset 0xc7563e</div><div>  Subfile Type: (0 = 0x0)</div><div>
  Image Width: 3278 Image Length: 3026 Image Depth: 1</div><div>  Tile Width: 240 Tile Length: 240</div><div>  Bits/Sample: 8</div><div>  Compression Scheme: LZW</div><div>  Photometric Interpretation: RGB color</div><div>
  Image Description: &quot;Aperio Image Library v11.2.1 \r\n68340x43430 [49868,23390 3278x3026] (240x240) LZW;Aperio Image Library v8.0</div><div>.19\n69360x43530 [0,0 68340x43430] (240x240) JPEG/RGB Q=70|AppMag = 20|StripeWidth = 2034|ScanScope ID = PHUSCA-W20585|Filename =</div>
<div>13203|Title = none|Date = 01/03/07|Time = 14:09:11|User = f92fa4e0-e189-4a07-bb9b-095c3f5bbde4|MPP = 0.4667|Left = 9.760571|Top =</div><div>22.175273|LineCameraSkew = 0.000000|LineAreaXOffset = 0.000000|LineAreaYOffset = 0.000000|DSR ID = 192.168.2.102|ImageID = 13203|O</div>
<div>riginalWidth = 69360|Originalheight = 43530|OriginalWidth = 68340|OriginalHeight = 43430&quot;</div><div>  Samples/Pixel: 3</div><div>  Planar Configuration: single image plane</div><div>  Predictor: horizontal differencing 2 (0x2)</div>
<div>TIFF Directory at offset 0xd93922</div><div>  Subfile Type: (0 = 0x0)</div><div>  Image Width: 831 Image Length: 768 Image Depth: 1</div><div>  Bits/Sample: 8</div><div>  Compression Scheme: LZW</div><div>  Photometric Interpretation: RGB color</div>
<div>  Image Description: &quot;Aperio Image Library v11.2.1 \n3278x3026 -&gt; 831x768 - ;Aperio Image Library v8.0.19\n69360x43530 [0,0 68340x</div><div>43430] (240x240) JPEG/RGB Q=70|AppMag = 20|StripeWidth = 2034|ScanScope ID = PHUSCA-W20585|Filename = 13203|Title = none|Date = 01</div>
<div>/03/07|Time = 14:09:11|User = f92fa4e0-e189-4a07-bb9b-095c3f5bbde4|MPP = 0.4667|Left = 9.760571|Top = 22.175273|LineCameraSkew = 0</div><div>.000000|LineAreaXOffset = 0.000000|LineAreaYOffset = 0.000000|DSR ID = 192.168.2.102|ImageID = 13203|OriginalWidth = 69360|Origina</div>
<div>lheight = 43530|OriginalWidth = 68340|OriginalHeight = 43430&quot;</div><div>  Samples/Pixel: 3</div><div>  Rows/Strip: 3</div><div>  Planar Configuration: single image plane</div><div>  Predictor: horizontal differencing 2 (0x2)</div>
<div>TIFF Directory at offset 0xdb0ede</div><div>  Subfile Type: reduced-resolution image (1 = 0x1)</div><div>  Image Width: 356 Image Length: 320 Image Depth: 1</div><div>  Bits/Sample: 8</div><div>  Compression Scheme: LZW</div>
<div>  Photometric Interpretation: RGB color</div><div>  Image Description: &quot;Aperio Image Library v11.2.1 \nlabel 356x320&quot;</div><div>  Samples/Pixel: 3</div><div>  Rows/Strip: 7</div><div>  Planar Configuration: single image plane</div>
<div>  Predictor: horizontal differencing 2 (0x2)</div><div>TIFFReadDirectory: Warning, exported from ImageScope 13203.tif: unknown field with tag 347 (0x15b) encountered.</div><div>TIFF Directory at offset 0xdbcd6c</div>
<div>  Subfile Type: reduced-resolution image (9 = 0x9)</div><div>  Image Width: 640 Image Length: 246 Image Depth: 1</div><div>  Bits/Sample: 8</div><div>  Compression Scheme: JPEG</div><div>  Photometric Interpretation: RGB color</div>
<div>  YCbCr Subsampling: 2, 2</div><div>  Image Description: &quot;Aperio Image Library v11.2.1 \nmacro 640x246&quot;</div><div>  Samples/Pixel: 3</div><div>  Rows/Strip: 16</div><div>  Planar Configuration: single image plane</div>
<div>  Tag 347: &lt;unsupported data type in TIFFPrint&gt;</div></div>