Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx3.pub.mailpod2-cph3.one.com ([10.27.25.13])
	by mailstorage18.cst.mailpod2-cph3.one.com (Dovecot) with LMTP id Ss6kEYkQPFqDQgAAQS8vrQ
	for <filtered@awaresystems.be>; Thu, 21 Dec 2017 20:07:52 +0000
X-HalOne-ID: 9fa55151-e68a-11e7-9b3c-e0d84895d241
Received: from mail-oi0-f41.google.com (unknown [209.85.218.41])
	by mx3.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 9fa55151-e68a-11e7-9b3c-e0d84895d241;
	Thu, 21 Dec 2017 20:07:52 +0000 (UTC)
Received: by mail-oi0-f41.google.com with SMTP id x20so17596404oix.12
        for <filtered@awaresystems.be>; Thu, 21 Dec 2017 12:07:52 -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
         :from:mime-version:message-id:date:to:subject:precedence:list-id
         :list-unsubscribe:list-archive:list-post:list-help:list-subscribe
         :content-transfer-encoding:sender:errors-to;
        bh=AvbiZcQKbPNMDLfq6XwL96A25+dniazHYEeI0N18ye0=;
        b=HiY1lW4SD8NRp4Q8u1jEBdfpVn5M3QzY47/Oymv2973EAPRwQqsWDolcvfc1QdGZ6a
         BLdTD6DA0HxiKbfuS+JMu5XOsqpp3e4sj31E8DiV76l3wQZbWi1SBnGxowtD4fB/Nmel
         PXdP20DF/wNts+hxvjlHAiWgvBVvC/6ukWFa+gGFehSiJxY4UN7KWfJyP/LiGYQm66Kg
         n4HUaaRTTOoOy/mr/5PA9bDUAQLLq9zSt31vskJefESfzoqbWOhF31rrAA5uDovhJQxS
         RrXTJpvCZYG67g7TF352CBYfGmSIANMch5bOh+xwbUbxgI9G5rL4BAJbfmeYjkvgxryo
         t5nQ==
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: AKGB3mKUVHcUxLKw7BShH7BRU9cvRO+twQFKzJOvUKnhLx70WgiMcPFz
	YmuCO3ngzQu2OwBtWZMd0nidnOe9cPX1IiBNVadtiOkx7mlS84I=
X-Received: by 10.202.194.67 with SMTP id s64mr8858947oif.182.1513886871187;
        Thu, 21 Dec 2017 12:07:51 -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 10.202.55.68 with SMTP id e65csp1467733oia;
        Thu, 21 Dec 2017 12:07:50 -0800 (PST)
X-Google-Smtp-Source: ACJfBos4vpCFlrWJ/54BWAMoLVJRTE1m3NCEdwNmLStyqMQHMzpHxzm31XP/6srfdRAciOFAnCyH
X-Received: by 10.223.138.197 with SMTP id z5mr12443685wrz.154.1513886870150;
        Thu, 21 Dec 2017 12:07:50 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1513886870; cv=none;
        d=google.com; s=arc-20160816;
        b=jHHbisuYWTw+KwphooMI4G4BBb4WhY8jm4K4Xy5qyOvHOgD1mvmMZ0FMIceFx5eYl4
         HDsnRZU029oFIIRi6EhGuCD03bWYilHKk1oUhKCD3ivBBYbg+VPbA4qRphN9Q00WDUQd
         meTEVMvS8vrlj7LLkq7QmA9X0mrkSdqJE0F/QfHTsPhsGoRAIGvNG240VaOMXN6ZdSyT
         43BIAEeRDoKHFoj9AlO6nEu9TfBUZ3iFD/UmySGF5irgJ/T2Hd5oa7KlLO3nNHCdU802
         PpKVu6KSTI5506xAXzkPS6MUciUWkmyhCTOugDtL5LSPbevJbPXljBmRBS1JSjjBXx36
         DuMA==
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
         :to:date:message-id:mime-version:from:arc-authentication-results;
        bh=AvbiZcQKbPNMDLfq6XwL96A25+dniazHYEeI0N18ye0=;
        b=zHoyvqVxL3aNdocNzNQ0sX3JObnsQdxf7zKRvK0oTxUlHxo+S1IaoG983N2HEcYg9z
         t/mpMRW47/pA44YCEGOZxtzrG1DSO4Oflq6as5n6RvnwZqXvgL2qOvTh+NkOgbhIiXrm
         1FXZV0UjQhkkeMwVOrWb+VLkJhWmNziS/E9XdjuAUAiabO3al8qX5rhJaqVeDj4wVkRK
         jTSzXE8n8G5AvPIIfQo9RRFwnnkOIec4dGh8A52OWmNlwgbsKRYbKH6/X3LpPPs6+VIv
         hMiWMZnYUzvhCAOB2sUocHrKF8hTNyTqRms2/0eu4fYRmzScbLljpzGcYKTtfixtoPUZ
         CzwQ==
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 y188si5125655wmy.267.2017.12.21.12.07.49;
        Thu, 21 Dec 2017 12:07:50 -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 CA01535C081;
	Thu, 21 Dec 2017 15:06:47 -0500 (EST)
Received: from homiemail-a6.g.dreamhost.com (homie.mail.dreamhost.com
	[208.97.132.208])
	by lists.maptools.org (Postfix) with ESMTPS id 136E935C07F
	for <tiff@lists.maptools.org>; Thu, 21 Dec 2017 15:06:26 -0500 (EST)
Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 0E11359807F
	for <tiff@lists.maptools.org>; Thu, 21 Dec 2017 12:06:24 -0800 (PST)
Received: from sake.hitronhub.home (S0106f0f249b09b33.vc.shawcable.net
	[174.7.127.0])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: lg@larrygritz.com)
	by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id E6922598074
	for <tiff@lists.maptools.org>; Thu, 21 Dec 2017 12:06:23 -0800 (PST)
From: Larry Gritz <lg@larrygritz.com>
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <6EB7FFB5-732F-446D-82A2-076B9ADAE121@larrygritz.com>
Date: Thu, 21 Dec 2017 12:06:23 -0800
To: tiff@lists.maptools.org
X-Mailer: Apple Mail (2.3273)
Subject: [Tiff] Mixing strip and scanline I/O with libtiff
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

For either input or output, for an open a scanline-oriented file, can scanline and strip calls be freely intermixed as long as they are progressing in strictly increasing scanline order? If not, what are the restrictions?

For example, if the strip size was 4, is it ok to

    output scanline 0
    output scanline 1
    output scanline 2
    output scanline 3
    output strip containing lines 4-7
    ... etc?


--
Larry Gritz
lg@larrygritz.com




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