From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90521 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: jpeg problem: Dimension too large Date: Tue, 10 Mar 2015 09:35:01 +0100 Message-ID: References: <20150309211828.GA18849@hl.fritz.box> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0473525626==" X-Trace: ger.gmane.org 1425976564 1938 80.91.229.3 (10 Mar 2015 08:36:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Mar 2015 08:36:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 10 09:35:52 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YVFdl-0007uI-B2 for gctc-ntg-context-518@m.gmane.org; Tue, 10 Mar 2015 09:35:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BA421021F for ; Tue, 10 Mar 2015 09:35:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oXE2ET9TXCgB for ; Tue, 10 Mar 2015 09:35:47 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E78301022F for ; Tue, 10 Mar 2015 09:35:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08474101EC for ; Tue, 10 Mar 2015 09:35:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eCvkXABI6-pP for ; Tue, 10 Mar 2015 09:35:07 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 1BA72101E8 for ; Tue, 10 Mar 2015 09:35:02 +0100 (CET) Original-Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t2A8Z1n8028027 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 10 Mar 2015 09:35:01 +0100 Original-Received: by wiwl15 with SMTP id l15so28050098wiw.4 for ; Tue, 10 Mar 2015 01:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DSlXKPxkLLeDDMGSzlaEPlt7nq6OQk2frFc9xNTueEQ=; b=HMKYSTVaa3DvEFnhhV+Ww0qaqXXu4Bzgmt4PWggOx9w/XwH3+7Lv13gpo/J86KPT/e OC3GYXQgESHIbZFeF3oaubMfGfwiI8kJDUZ+wuxe1FtvMQM21y+IiZrsiX89QtLFhGiL krGzUfEkclpuyIh2ElxsrGkRMZDBMiOk6rUQV9eWiNc2fQ+MrZJASl8X8uBo4JcZ/xA/ pk3FiSaakvCALRpCl+9Zbf8mNjUjaUE4vScyQb2wKjE52UJY24VKA5+sJJikAKHDV6ap auqU2VLRp/slM6fL31kPt4aqRHaZENEdg55eo44IB/rG56ykay+RdGLdkXFE+lS58jXY 6kXA== X-Received: by 10.180.80.9 with SMTP id n9mr67528716wix.34.1425976501100; Tue, 10 Mar 2015 01:35:01 -0700 (PDT) Original-Received: by 10.194.120.167 with HTTP; Tue, 10 Mar 2015 01:35:01 -0700 (PDT) In-Reply-To: <20150309211828.GA18849@hl.fritz.box> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22f; country=IE; latitude=53.3478; longitude=-6.2597; http://maps.google.com/maps?q=53.3478,-6.2597&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07O1Iz1Rz - 35a033d67c20 - 20150310 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of luigi.scarso@gmail.com designates 2a00:1450:400c:c05::22f as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:400c:c05::22f; envelope-from=; helo=mail-wi0-x22f.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:90521 Archived-At: --===============0473525626== Content-Type: multipart/alternative; boundary=f46d04182544ce67bb0510eb065f --f46d04182544ce67bb0510eb065f Content-Type: text/plain; charset=UTF-8 On Mon, Mar 9, 2015 at 10:18 PM, Harald Koenig < koenig@tat.physik.uni-tuebingen.de> wrote: > Hi, > > and here a 1st problem including (some) JPGs which are created/converted > using "convert" > from ImageMagick (using ImageMagick-6.8.6.9-2.28.1.x86_64 from openSUSE > 13.1 -- just in case...) > > btw. -- I'm using a decent standalone context installation, full log file > attached... > > running "context j1.tex" I get > > LuaTeX warning: arithmetic: number too big > graphics > inclusion > limiting natural dimensions of > './IMG_9712c1_bad.jpg' (height) > > tex error > error on line 1 in file > /home/harald/tex/Indien-2015/j1.tex: ! Dimension too large > > for "IMG_9712c1_bad.jpg" which was generated with this command: > > convert -resize 632x330 IMG_9712c1_ok.jpg IMG_9712c1_bad.jpg > > > using other tools I can't find any problem with that "bad" jpg, only > context complains:-( > > what's wrong with "IMG_9712c1_bad.jpg" ?also with pdftex > also with pdftex: figures : dimensions of IMG_9712c1_ok loaded from figurefile itself pdfTeX warning: pdftex: arithmetic: number too big <./IMG_9712c1_bad.jpg> ! Dimension too large. > \setanalyzedfiguredimensions ...lyzedfigurewidth > \zeropoint \ifdim \analyze... \doanalyzefiguredimensionsinternal ...ions \!!ten \fi ...}\doanalyzefiguredimensionsinternal \doanalyzefiguredimensions... \firstoftwoarguments #1#2->#1 \dododoanalyzeunknownfiguretype ...guredimensions \fi ... -- luigi --f46d04182544ce67bb0510eb065f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Mar 9, 2015 at 10:18 PM, Harald Koenig <koeni= g@tat.physik.uni-tuebingen.de> wrote:
Hi,=

and here a 1st problem including (some) JPGs which are created/converted us= ing "convert"
from ImageMagick (using ImageMagick-6.8.6.9-2.28.1.x86_64 from openSUSE 13.= 1 -- just in case...)

btw. -- I'm using a decent standalone context installation, full log fi= le attached...

running "context j1.tex" I get

=C2=A0 =C2=A0 =C2=A0 =C2=A0 LuaTeX warning: arithmetic: number too big
=C2=A0 =C2=A0 =C2=A0 =C2=A0 graphics=C2=A0 =C2=A0 =C2=A0 =C2=A0 > inclus= ion > limiting natural dimensions of './IMG_9712c1_bad.jpg' (hei= ght)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 tex error=C2=A0 =C2=A0 =C2=A0 =C2=A0> error = on line 1 in file /home/harald/tex/Indien-2015/j1.tex: ! Dimension too larg= e

for "IMG_9712c1_bad.jpg" which was generated with this command:
=C2=A0 =C2=A0 =C2=A0convert -resize 632x330 IMG_9712c1_ok.jpg IMG_9712c1_ba= d.jpg


using other tools I can't find any problem with that "bad" jp= g, only context complains:-(

what's wrong with "IMG_9712c1_bad.jpg" ?also with pdftex=C2= =A0

also with pdftex:

figures =C2=A0 =C2=A0= =C2=A0 =C2=A0 : dimensions of IMG_9712c1_ok loaded from figurefile itself<= /div>


pdfTeX warning: pdftex: arithmetic:= number too big
=C2=A0<./IMG_9712c1_bad.jpg>
! Di= mension too large.
<to be read again>=C2=A0
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0>
\setanalyzedfiguredimensions ...lyzedfigurewidth >
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 \zeropoint \ifdim \analyze...

=
\doanalyzefiguredimensionsinternal ...ions \!!ten=C2=A0
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 \fi=C2=A0
<argument> ...}\doanalyz= efiguredimensionsinternal=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \doan= alyzefiguredimensions...

\firstoftwoarguments #1#2= ->#1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
\dododoanalyzeun= knownfiguretype ...guredimensions=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 \fi=C2=A0
...

--
luigi
--f46d04182544ce67bb0510eb065f-- --===============0473525626== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0473525626==--