Extracting a tiff directory
Mathieu Malaterre
mathieu.malaterre at gmail.com
Sat Feb 11 09:39:38 EST 2012
tiffsplit was the key thanks.
On Fri, Feb 10, 2012 at 6:54 PM, Adam Goode <adam at spicenitz.org> wrote:
> I seem to remember that tiffsplit is more robust in these cases.
> tiffcp wants to interpret more of the file than necessary.
>
>
> Adam
>
>
> On Fri, Feb 10, 2012 at 12:24, Cornwell, Carl (NIH/NLM/LHC) [C]
> <ccornwell at mail.nih.gov> wrote:
>> Hi Mathieu,
>> It doesn't seem as though file size should be an issue. Exactly what tiffcp command are you using? Do you get the same result with tiffsplit? (Of course that pulls more ifd's than you need, but you can always delete the extraneous ones.)
>> - Carl
>> ________________________________________
>> From: Mathieu Malaterre [mathieu.malaterre at gmail.com]
>> Sent: Wednesday, February 08, 2012 4:14 PM
>> To: openslide-users at lists.andrew.cmu.edu
>> Subject: Extracting a tiff directory
>>
>> 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
>> _______________________________________________
>> openslide-users mailing list
>> openslide-users at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
>> _______________________________________________
>> openslide-users mailing list
>> openslide-users at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
> _______________________________________________
> openslide-users mailing list
> openslide-users at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
--
Mathieu
More information about the openslide-users
mailing list