From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108579 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: PNG image inclusion resolution Date: Thu, 3 Sep 2020 05:22:45 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6854632912725973529==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10732"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 03 05:23:34 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDfqY-0002fh-IB for gctc-ntg-context-518@m.gmane-mx.org; Thu, 03 Sep 2020 05:23:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5723A1A8974; Thu, 3 Sep 2020 05:23:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CIkaWawxY0vi; Thu, 3 Sep 2020 05:23:04 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E78681A8965; Thu, 3 Sep 2020 05:23:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 850981A8962 for ; Thu, 3 Sep 2020 05:23:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RukFR7Ib89wh for ; Thu, 3 Sep 2020 05:23:02 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.174; helo=mail-lj1-f174.google.com; envelope-from=christoph.reller@gmail.com; receiver= Original-Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CE1A31A87ED for ; Thu, 3 Sep 2020 05:23:02 +0200 (CEST) Original-Received: by mail-lj1-f174.google.com with SMTP id s205so1748617lja.7 for ; Wed, 02 Sep 2020 20:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2yhe5HUHSa2W47k1UtHbvRYwmIyNZUdjxgxcFj8SgiA=; b=LVhwBsas2/mcKJ6FEfIH+SKh7QUc7GoSCHj+cjJzIkCvzNPNn1wKme3ovXYn7iNHTd jtMe97dqhwMM4s/MF/EV623UeiCGYiYJNe1M00MyEffo7BdIbBOVUW2KRUd2Rsagdwx3 A9AppZajExz+lFWnpzi5PDKv1AJ2aJrQOrXCeSc+r+mpfkzyUN8b2z7/o8RCavb1OoXU 7XsmFrWClFTeoVFEsgxhkb1htC3Ld8d72yQSq9aqeGr//mjbcZerjZLHewxCyEhBZx98 CZDFtPJ91o9HUwGE10iuPKa+YkFtEh/UGIGglIp4nLdRaJlYewts65fVuLa1yeqzJCPS 4XBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2yhe5HUHSa2W47k1UtHbvRYwmIyNZUdjxgxcFj8SgiA=; b=B+iK59NbbNVQXS0CHx0f07JYWW/Z+02mrcB37bCB2k90f7WvDS9Hg2Z4TaIbEYPqvT qpOZ+VJqCh/zGF5zEW8YlkWc1dSxonrWxlO2i91urQs7eB0CZsQ7SC3WNwhQ80/0ND47 0svykQNpB+rDQbMXq9sVkuhYGS4cga1+7Y7oEeltzHI3lekx4xAxqX9todX8bWGwXfWg dwYmY5Kih+1OCsTbGEOCaDW8qvNZiSdiwwgfCGirLbQfc0MsTFJKvmA8iTry85huuzOF WZPDtwSNtB6pIqbDTy3oenhvsG35TqaAlxXA2ItH8vp7Gi97b1pW7HxyTe7UcvGGRXxW NWYQ== X-Gm-Message-State: AOAM532hu5eZcFrhhcVjmUyxn3vvYFaDXjF0vNvUacxsi4QC1ESrknDw dLS+Xau5aB0A+jPaps7Gsp3S/3DphHymTzc+RxY= X-Google-Smtp-Source: ABdhPJy0cJoZGnBi9xk+wv9KeoQEV6REZl+XtP5K+JpYd8qbeGmxE5rC86eCuwU0t1YN/hN1lGwL778Ftt85UOE1hgg= X-Received: by 2002:a05:651c:c6:: with SMTP id 6mr587397ljr.237.1599103381931; Wed, 02 Sep 2020 20:23:01 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:108579 Archived-At: --===============6854632912725973529== Content-Type: multipart/alternative; boundary="0000000000000a0ad105ae60457a" --0000000000000a0ad105ae60457a Content-Type: text/plain; charset="UTF-8" On Wed, Sep 2, 2020 at 4:36 PM Hans Hagen wrote: > On 9/2/2020 3:35 PM, Christoph Reller wrote: > > Dear List, > > > > I am using ConTeXt LMTX 2020.08.31 22:16. Consider the following MWE: > > > > \starttext > > \externalfigure[resolutionTest.png] > > \stoptext > > > > When comparing the output with ConTeXt MKIV, then the image size is > > extremely small. gimp reports the resolution of resolutionTest.png as > > 71.984 DPI. Is this a bug? (I cannot reproduce the shrinkage with > > hacker.png.) > > it's an image that has its resolution internally specified in meters and > that bit is commented (i probably had a good reason for that but for now > i'll uncomment it and add some safeguards for zero conversion values) > Thank you, Hans! --0000000000000a0ad105ae60457a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Sep 2, 2020 at 4:36 PM Hans Hagen= <j.hagen@xs4all.nl> wrote:<= br>
On 9/2/2020 3:35 PM, Christoph Reller wrote:
> Dear List,
>
> I am using ConTeXt LMTX=C2=A02020.08.31 22:16. Consider the following = MWE:
>
>=C2=A0 =C2=A0 \starttext
>=C2=A0 =C2=A0 \externalfigure[resolutionTest.png]
>=C2=A0 =C2=A0 \stoptext
>
> When comparing the=C2=A0output with ConTeXt MKIV, then the image size = is
> extremely small. gimp reports the resolution of resolutionTest.png as =
> 71.984 DPI. Is this a bug? (I cannot reproduce the shrinkage with
> hacker.png.)

it's an image that has its resolution internally specified in meters an= d
that bit is commented (i probably had a good reason for that but for now i'll uncomment it and add some safeguards for zero conversion values)

Thank you, Hans!=C2=A0
=C2=A0<= /div>
--0000000000000a0ad105ae60457a-- --===============6854632912725973529== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6854632912725973529==--