From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25308 invoked from network); 12 Jul 2021 17:02:14 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 12 Jul 2021 17:02:14 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob20.topicbox.com (Postfix) with ESMTP id C6EBC2B457 for ; Mon, 12 Jul 2021 13:02:12 -0400 (EDT) (envelope-from bounce.mMe409a3585b63dd2fc735d4b7.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id AC1F92C85C49; Mon, 12 Jul 2021 13:02:12 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:to:subject:in-reply-to:message-id :references:mime-version:content-type:from:list-help:list-id :list-post:list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1626109332; bh=yNXGo4YEc28/gvQr nKnofX9YxvejB+PG/S8+Hwhxv5g=; b=cMv0m1wDrLoTi9/l3WKloQmEiTw45Pwh +Rp9dojEL9DNWfbFo0irW4ctQoB/UBQg6a/pkn8CQo9tRXMVSOcse0PJxLfjNV7M TBFbyxo65L/7M21D4V8LUvoRcx9zRiJVgdiaTLe7u1T1bxIFBPV+wory59XwPxuO LllL9yMABQs= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1626109332; b=lsB9wJ36Gh3E5c64+xjSiufe4mWvCcMLrU4poWmWWTwZHAlRe2 hsA2GdUCp4rE5RkaDiA6eplCIYjlCen4uBwLOjXo2E6S4PBRAirVt37A40/k9XGT jU1IPw2qi/huFw7bvLMxOHNPPiYGHr/jfGSbj57lSoKWgc6jRA+YRVOCE= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:to :subject:in-reply-to:message-id:references:mime-version :content-type:from:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=5BDl6doRyjQ0IFO1l67umJKOonT4tK55uVfnJAeTKt0=; b=OHGIc9aio6T+ 0DxIBBvPnSRRlOezTg7pZXTndISNTwM11KNgrqyaVphzC6Ay+emUAWuyjFqdZKih mQRW7Z6Nn0qrMap4QjD1Ggu5EdtBq6DMTO59hjIdX4J7JFDn5OZzyiTuTYcklbrq 26ywNovRY8EaPndn3KIfFRh5H6hwfEI= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 9BFAB2C85844 for <9fans@9fans.net>; Mon, 12 Jul 2021 13:01:57 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 3463871ABA1; Mon, 12 Jul 2021 13:01:57 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1626109317; b=f5uM6mdxMchMvqlveAGF+MO8iCbKS7EXFSXWQ59LQ3s07oSZyf QiKYLz5w9j6nvNYaPuouXmlembmxynKhWMyLg96/yeoyY3LqHz0LMxU9VtWGAFc2 c3mG7WpaAbUy31d1+BPn6oP8ZwE67nkMugRZC8rd/DRoPuY31wlfWDLHREbZvA9E 5kPatZ48n2dyEk4paDORaaDFkOw6h6Hzl4GGC7b8nGUKRo7U6t/PMP/Ipj+z1Zgs dzVgLL0QdcT5J4iFI5oyDwmosh/CtmtSPhA3d8tXKYNBheTDHr20dMf5AGKJzCm0 DqZU5xr1UWdGKhms1kfl5P1Wn3jCO9fxwhiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=arcseal; t=1626109317; bh=aSzyqbu9C69Fn5JhJsn4Oq6mqsxkoLZOj9dSJAntGHk=; b=Z/BCG4mLEtCJ bmU9rSe2P9brbSSFYiha0pYUIxZWB85sefneTKzWCDkPGTl4Wl/pdtPg18hQsZSe uSt3eSwapzwHsYkYlup3Cj0tS7tI00EZY5Ak0T8ImjiO9Dijj2OXFTb0SZMpUdAd MBfIbtrmNSkhcwA+AbIgsBsL7Lkkj4YqNv0EXDNrNNhnWUA5f9IL+F13G208W3uI w/aauU/HSxQtyFg3q2WjzbIuvbEDfg65Z2w3zsHbsOgh1LJ4owlxo7YFKzvo1bOA uPcLJjkzJYJtNusuI1a0mDEKOSHNpoe4R2HT9MPFWYUN/8ByV2k8A5szRlfPV/fz mqSbvDXKPA== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf gjkfhfgggtsehttdertddttddvnecuhfhrohhmpegrughruceorggurhesufffhfdrqfft ifeqnecuggftrfgrthhtvghrnhepkeehtdevffehvefhtdeghfehgfevleevudejteejtd ehuddvfedvkeegtdffhfffnecukfhppedvtdehrdduieeirdelgedrvdegpddvtdehrddu ieeirdelgedrudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvth epvddthedrudeiiedrleegrddvgedphhgvlhhopehmgidrshgufhdrohhrghdpmhgrihhl fhhrohhmpeeorggurhesufffhfdrqfftifeq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'adr@SDF.ORG' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="adr@SDF.ORG"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Mon, 12 Jul 2021 13:01:56 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from sdf.org (IDENT:adr@sdf.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 16CH1snD026107 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for <9fans@9fans.net>; Mon, 12 Jul 2021 17:01:54 GMT Received: from localhost (adr@localhost) by sdf.org (8.15.2/8.12.8/Submit) with ESMTP id 16CH1sTD002300 for <9fans@9fans.net>; Mon, 12 Jul 2021 17:01:54 GMT Date: Mon, 12 Jul 2021 17:01:54 +0000 (UTC) To: 9fans <9fans@9fans.net> Subject: Re: [9fans] pngread: alloc chunk's length In-Reply-To: <28C2E353AF3CC6A064D8A1A403C1E1C2@eigenstate.org> Message-ID: <1fbcd31c-c6f-7991-951-3f1daae8d895@SDF.ORG> References: <28C2E353AF3CC6A064D8A1A403C1E1C2@eigenstate.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format="flowed" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: e1b2435c-e332-11eb-84e8-faa00cc2f42a Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNGE3MTRlZDE0YzUwNzY3YS1NZTQwOWEzNTg1YjYzZGQyZmM3MzVk?= =?UTF-8?B?NGI3Pg==?= From: "adr via 9fans" <9fans@9fans.net> List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Me409a3585b63dd2fc735d4b7:1:b7r4SdzYY4O76fzR1ExXATH9GeuyoOBTavtVom0uzBg On Mon, 12 Jul 2021, ori@eigenstate.org wrote: > Do you have an example? I could upload it in some place but you don't need it, really. The specification is clear, the length of a data chunk must be less than 2^31 - 1, and the complete image data is represented by a single zlib datastream that is stored in "some" number of IDAT chunks. That's all. A decoder can't make any other assumptions about the size or the boundaries of the chunks, of course correct me if I'm wrong. Anyway if you are curious they were music scores extracted from a pdf using mutool (mupdf). ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4a714ed14c50767a-Me409a= 3585b63dd2fc735d4b7 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription