From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103483 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal Newsgroups: gmane.comp.tex.context Subject: Re: When newsizing an external figure bei [width=], what will be its height in pt and viceversa? Date: Sun, 24 Feb 2019 07:38:42 +0900 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: multipart/mixed; boundary="===============8147761082210411393==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="17581"; mail-complaints-to="usenet@blaine.gmane.org" To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 23 23:39:03 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gxfwl-0004TD-E4 for gctc-ntg-context-518@m.gmane.org; Sat, 23 Feb 2019 23:39:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 091E0F3553; Sat, 23 Feb 2019 23:38:53 +0100 (CET) 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 pYPJC4QoTjaK; Sat, 23 Feb 2019 23:38:52 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3501BF354A; Sat, 23 Feb 2019 23:38:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9AB92F354C for ; Sat, 23 Feb 2019 23:38:50 +0100 (CET) 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 mEGOWUdTHoyC for ; Sat, 23 Feb 2019 23:38:50 +0100 (CET) Original-Received: from pv50p00im-ztdg10011301.me.com (pv50p00im-ztdg10011301.me.com [17.58.6.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C3737F3540 for ; Sat, 23 Feb 2019 23:38:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1550961528; bh=8EkckodvE0vU6R71VPktVGjlZaXeSjzy2hAw2NNgGwo=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=Yl/j0ODZMrLWALKdlKntrH2b9aTL7lyaK54TpAuxE8/JYXz1p8dUQJnHSwbogJf+O mcUPjGXq96mhfVk/SO12lne+ILsggWitfzN6VAb+fX2a9jaYHQuWmJ0m/xc92Y/ZaZ SsxZfSNDW0/i3tb7hRl7mRxaMZQih3DHsoIDy8a8Ah3MZNU4K9giszdsdxnszPloVZ jAm46FEMBvsw8jlSNYnXHpqUZvfLCUnLSztDm2MJyLFoPNdHz1oFNUDjaLfp9y7QLC zw80wDf8xHqjNylDKYXL/xVk/iYetzIdeI7Cq/V8EhXBb2fGJYOMzhwIrYsxhLhmlq FiXsSwOyr0LzQ== Original-Received: from [10.0.1.6] (unknown [222.232.154.22]) by pv50p00im-ztdg10011301.me.com (Postfix) with ESMTPSA id 18A8B6400FC for ; Sat, 23 Feb 2019 22:38:46 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3445.102.3) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-23_15:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=566 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1902230173 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.org gmane.comp.tex.context:103483 Archived-At: --===============8147761082210411393== Content-Type: multipart/alternative; boundary="Apple-Mail=_91D58CA7-C7D5-4191-87A0-80087B546698" --Apple-Mail=_91D58CA7-C7D5-4191-87A0-80087B546698 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear Rudolf, It is working for me. Using my figure, I got=20 (45126287sp,31048991sp)=20 (1372,944)=20 As Hans said, either change ~ to some path or set the directory of = externalfigure. Best regards, Dalyoung > 2019. 2. 24. =EC=98=A4=EC=A0=84 5:58, ntg-context-request@ntg.nl = =EC=9E=91=EC=84=B1: >=20 > I fear it doesn't work. I used the above code with a test-picture of = mine > (in .png and .jpg version) and got: >=20 > (0sp,0sp) > (0,0) >=20 > Now I'm baffled what the explanation could be. Are "mill" or "cow" = somehow > specially prepared? I used: >=20 > ConTeXt ver: 2018.03.16 22:20 MKIV beta fmt: 2018.3.21 and > getfiguredimensions[~/my-test-picture.png] >=20 > Rudolf --Apple-Mail=_91D58CA7-C7D5-4191-87A0-80087B546698 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = Rudolf,

It is working for = me.
Using my figure, I got 
=09 =09 =09

(45126287sp,31048991sp) 

(1372,944) 


As Hans said, either change ~ to some = path or set the directory of externalfigure.

Best regards,

Dalyoung

2019. 2. 24. =EC=98=A4=EC=A0=84 5:58, ntg-context-request@ntg.nl =EC=9E=91=EC=84=B1:

I fear it = doesn't work. I used the above code with a test-picture of = mine
(in .png and .jpg version) and got:

(0sp,0sp)
(0,0)

Now I'm baffled what the explanation could be. Are "mill" or = "cow" somehow
specially prepared? I used:

ConTeXt  ver: 2018.03.16 22:20 MKIV beta  fmt: = 2018.3.21 and
getfiguredimensions[~/my-test-picture.png]

Rudolf

= --Apple-Mail=_91D58CA7-C7D5-4191-87A0-80087B546698-- --===============8147761082210411393== 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== --===============8147761082210411393==--