Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx1.pub.mailpod2-cph3.one.com ([10.27.25.11])
	by mailstorage18.cst.mailpod2-cph3.one.com with LMTP id yDfFIZTc6ltMugAAQS8vrQ
	for <filtered@awaresystems.be>; Tue, 13 Nov 2018 14:15:48 +0000
X-HalOne-ID: 9d9f2853-e74e-11e8-997e-e0d848957041
Received: from mail-yw1-f41.google.com (unknown [209.85.161.41])
	by mx1.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 9d9f2853-e74e-11e8-997e-e0d848957041;
	Tue, 13 Nov 2018 14:15:48 +0000 (UTC)
Received: by mail-yw1-f41.google.com with SMTP id k6-v6so5783445ywa.11
        for <filtered@awaresystems.be>; Tue, 13 Nov 2018 06:15:48 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :to:from:message-id:date:user-agent:mime-version:content-language
         :subject:precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:content-transfer-encoding:sender:errors-to;
        bh=MAG/pRsVAZ5s8A2wSI8cTt2RyC3rQsrMZut3C/gGIfc=;
        b=Orf8fgFBD9jBkAmZv9tJ0hi4Sk9cxNW898FGQMG3XfMX0cgAORrbKOWg+zKc1s0mE9
         f97rg9hXsmFO6QUiQYwmnsw5i6JZOGIbd5zV6G6BH+yat13qjnqIA7Zq1xXLoChWlhS1
         AB5o4jkLXlox4PveSBu17FB2Cd9fiJQvoGLRdeAyhTJTzpPiU5ZfM+SLy2fa9hiEVfDP
         BbgRcbfD2HCKaHM77k5LwtwHQ6pdDiIWtAzHIrWvznNU5W3AT6CG/UMyDEoloEoE8FA5
         PKEaRHtR4AeQQl3RFpmoJoEL+yJRtr9p2luoad2wqVUNRN1g5W8pS7+ioP1+Y63pm0SF
         1kzQ==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
X-Gm-Message-State: AGRZ1gLJl6DWiuY+/ufcCfxwA6r39mtx5nAou2JZJMdq1cO7nk9qzO9j
	cXDdVwWWYHprHUkQcUzT/a9SQHaJf6LJTf475+tnuZrPFUv0PvY=
X-Received: by 2002:a81:2054:: with SMTP id g81-v6mr5103833ywg.66.1542118546599;
        Tue, 13 Nov 2018 06:15:46 -0800 (PST)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 2002:a25:23d2:0:0:0:0:0 with SMTP id j201-v6csp4498346ybj;
        Tue, 13 Nov 2018 06:15:45 -0800 (PST)
X-Google-Smtp-Source: AJdET5fqb+wSlaaHEd2aK6/P41LqJi1BC/z8tgI2of3KwBtghBAhrPMuE0UsNALKa087tFZsVNmr
X-Received: by 2002:a5d:61c4:: with SMTP id q4mr669195wrv.308.1542118545266;
        Tue, 13 Nov 2018 06:15:45 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1542118545; cv=none;
        d=google.com; s=arc-20160816;
        b=oWDb9F4e7Xs1PzaNFEgsnB9okPAwFZwH++fO/TUzRv1BF37E/Q2Aw1U7jMw6oMp/yd
         kvAW4XhyFbvOHVoc7LUquv4x+E6QhaP1QuRWesSSYrEP34n1P+Gf1sBw/9wlLv045cEX
         GMqvbvy6QqdADK+rqL8lGJHMgHMCpj+6lbkYkgdCiLElWYa5fSbi+NsBZf8eGjNmurgk
         RaN1xH2JS/Sgio3l0X2Nj9EM/WcwAPfdbq9fcPO2wlyM+YTjFOBhAeRPwKJZBLb97q4I
         6fuOS8rBg5MAzrZNgIl24kEHIy74ezc/gCDQf3KOYTYmlvJ+BvA85xX6FBaAT32yBSyH
         iaAQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help
         :list-post:list-archive:list-unsubscribe:list-id:precedence:subject
         :content-language:mime-version:user-agent:date:message-id:from:to;
        bh=MAG/pRsVAZ5s8A2wSI8cTt2RyC3rQsrMZut3C/gGIfc=;
        b=Q3sdZEYGt/RjaT27fmIXQruw43LWEQLWbocy4kaaoAPlf53TNg424EBoaTnyO7yLpT
         2ueR3NEwh39T3tnjo7zwN1WGC0gqkeQsu8wDO6axD6OqE7zhvogYU37huCV5shBku9QK
         6LohoYortKcfsjYNUTXuUmVrnBU5r7km/svo5HCer8mKKhyzV2wUPfBK2QzELELBg7Ii
         CVYRa36qyzqWTSZS8YZSI/BOdiAeXR5fputMYh0V7fXV7xpNVDkhq3mYPyc7nDU3mPUq
         +w4YcphHObmmuwfxulkBl5hHmBt4wqiXSj6JD2nU5wN6C4GKjlxj53Q24HGFlQndqj4/
         ABxA==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id l18-v6si16562757wrs.92.2018.11.13.06.15.43;
        Tue, 13 Nov 2018 06:15:45 -0800 (PST)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 40C8E35C02A;
	Tue, 13 Nov 2018 09:14:43 -0500 (EST)
Received: from mout.web.de (mout.web.de [217.72.192.78])
	by lists.maptools.org (Postfix) with ESMTPS id 93E5535C023
	for <tiff@lists.maptools.org>; Tue, 13 Nov 2018 09:14:19 -0500 (EST)
Received: from [192.168.0.7] ([151.225.160.78]) by smtp.web.de (mrweb101
	[213.165.67.124]) with ESMTPSA (Nemesis) id 0LfRnJ-1fgvAJ17yT-00p503
	for <tiff@lists.maptools.org>; Tue, 13 Nov 2018 15:14:18 +0100
To: tiff@lists.maptools.org
From: Olumide <50295@web.de>
Message-ID: <3095c16d-cd71-c2a5-245e-7eaee9c3b5d1@web.de>
Date: Tue, 13 Nov 2018 14:14:16 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
	Thunderbird/60.2.1
MIME-Version: 1.0
Content-Language: en-US
X-Provags-ID: V03:K1:F/aNeSXqnLcGtCkS5URICeorRgFQI0uLQk00FtMb+KJOYoeqb5D
	QeEu97aWh6+5uHtoqci2wGqM1uQFLnnhiTUBEORj523OCO81XNOfdn/Gn6kTOx4LaHEJ3/Z
	rupLBXaNc+ycldwTKum26uUCUiSpDaUDu4WNScn2tQkFw5cZhw/0Xchz32yFySgSxOWrPCU
	5w+JQolNe1WPMT81qCeSA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V01:K0:eWflgoovFPU=:4lrAtoqC0dZ10tPT+SF8H3
	+0QZ05f6uMDd2PVn+tThnnLG+S2VaHzh/7WVvSnH5AyM49Y7B2MPRJqhvyNeKTrp4yXCO6agl
	a8KaT5ACuEV9w8P6MQVfl0a3q26ckCZGYADftH64br7OSmFJtm3RTyd2Kzzv1ioPGhAQkDjCp
	HbceZ2RjXlM3K8O0m84AU8JTI2K951p0zQd69jXuB0PYDPxL8jtynTjYSyzJp+mTVD9lGjyZj
	2LM9c6tPa2SRuaqiU39v5XMoqlib7HIVl/9hj0AnmcdhcLps1KJ77J+Q6J7+Jg56Jb6fZeI9B
	qcTz3xP0YJPNDkB8dfZEAxL4wpIWdtmRvYFLwKshBpV25LUQv/3sheBAKisLdVn/vY8qDuwGi
	OijPhxLzeHj/QMFQbn01zTr1UfVzCM/fTFE7gc1vfzz1fT2dAIaIHVBXX5wLjY+mv8udPX0WY
	3duobIu5Z7UTUNZWAfJBCn8CcB8KGD6AGN/QCwD7jkGzYfZK08Sum7KYJq3rvx78bR0hY4Tze
	AHQspPjLd2CDClYR138o/LQEJH6Ea+DDLEp7RVcD8l7mFOSqQH+Ki2tHHbQIgu1Y4SfxgMSq/
	QyMsbTTCiQUkkI+c6AW3JadYY0gWraIL3kwcAy3EUud2uTccCT9bJPO8N/y+CP5dvF5GROnfH
	rq4U8iYPJzRTdYZeqXWPpUN6+8pX1RQuAb8d3h49PR/Mx6GuAokSqIWcOdjuS9mVguvT5PFkp
	OfixQczf8NJwnP01+lZpptmGcKGxHUr+6E+7EKput9D/+aVR8iFF4Civl1bkzLSpVE+o5BROy
	ovCWgXpYGT6+0ST5/o68xkWmx+9BCOuRmRLNVKkGOf8WQCltnkz1riNR8HML1xhJfOTHHlRzT
	Cpong17FAiAxunlIs4xkgugC1esTx1V80SfqRLxlGvZoppGDHMjrDhB7WfUpan
Subject: [Tiff] TIFF image has depth 0,
 bits per sample value 16 and samples per pixel value of 1
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

Dear List,

I'm trying to analyze an image that has:

depth 0
bits per sample value 16
samples per pixel value 1

... see below. What sort of image is this? It does not fit the mould of 
any of the image types here
http://www.mit.edu/afs.new/sipb/project/scanner/arch/i386_rhel3/bin/html/vuesc13.htm 


uint32 depth = 0;
uint16 bitsPerSample, samplesPerPixel;

// Returns 0
TIFFGetField( tif , TIFFTAG_IMAGEDEPTH , &depth );

// Returns 16
TIFFGetField( tif , TIFFTAG_BITSPERSAMPLE , &bitsPerSample );

// Returns 1
TIFFGetField( tif , TIFFTAG_SAMPLESPERPIXEL, &samplesPerPixel );

Regards,

- Olumide

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
