From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79549 Path: news.gmane.org!not-for-mail From: "Dr. Hartmut Henkel" Newsgroups: gmane.comp.tex.context Subject: Re: error when using externalfigure Date: Mon, 26 Nov 2012 20:54:09 +0100 (CET) Message-ID: References: <50B33B49.9070206@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353962312 3784 80.91.229.3 (26 Nov 2012 20:38:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 20:38:32 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 26 21:38:44 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Td5Ru-0000ub-Cc for gctc-ntg-context-518@m.gmane.org; Mon, 26 Nov 2012 21:38:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B952102CB; Mon, 26 Nov 2012 21:38:27 +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 IAryZbMeY8MH; Mon, 26 Nov 2012 21:38:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 594D2102B6; Mon, 26 Nov 2012 21:38:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6B7DD102B6 for ; Mon, 26 Nov 2012 21:38:24 +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 irO7dKEtBLYB for ; Mon, 26 Nov 2012 21:38:23 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 1C585102B2 for ; Mon, 26 Nov 2012 21:38:23 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id qAQKcK5k026549 for ; Mon, 26 Nov 2012 21:38:21 +0100 Original-Received: (qmail invoked by alias); 26 Nov 2012 20:35:22 -0000 Original-Received: from mnhm-4d011dc2.pool.mediaWays.net (EHLO hahepc2.hahe) [77.1.29.194] by mail.gmx.net (mp069) with SMTP; 26 Nov 2012 21:35:22 +0100 X-Authenticated: #6218946 X-Provags-ID: V01U2FsdGVkX18nYiZ3cVsnkixKesEYa4CR/X28NcbKaoitxbcf38 OpkTYvBLRWzQox Original-Received: from hahe (helo=localhost) by hahepc2.hahe with local-esmtp (Exim 4.72) (envelope-from ) id 1Td4kr-00018W-Bg; Mon, 26 Nov 2012 20:54:09 +0100 In-Reply-To: <50B33B49.9070206@wxs.nl> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIskCk5p - 4b8a92e53453 - 20121126 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79549 Archived-At: On Mon, 26 Nov 2012, Hans Hagen wrote: > On 11/26/2012 10:36 AM, luigi scarso wrote: > > On Mon, Nov 26, 2012 at 10:20 AM, Pavel Dohnal > > wrote: > > > I have a big context source file which contains pictures from different > > > sources. The problem is, that there are some pictures the context cannot > > > process. It displays an error message and ends. I run the context from > > > another script in batchmode. After finishing, the context creates a PDF > > > file, which contains this problematic picture but the pdf is broken. It > > > does > > > not have numbers in the table of contents and it is not arranged by setup. > > > Here is a minimal example: > > > \starttext > > > \externalfigure[http://cdn-locations-images.tripomatic.com/img-poi1295-5ZTynx-s.jpg][width=26.5mm] > > > \stoptext i just tried the minimal example here, it gives a valid PDF with a properly (afaics) scaled image. Creator: ConTeXt - 2012.11.26 13:31 Producer: LuaTeX-0.70.2 > > when I save the jpg as eps from gimp > > I see > > width = 6096,00 > > height=4064,00 tried, can't see here. > > The first value is off for TeX. > > if i print the values from the img object i get > > 17344.8pt > 11563.2pt > > so the problem is deep down in the jpg reader ... the image is crippled in the > sense that it has no valid resolution information > > something for hartmut to check in the img lib can't confirm. Is this solved already? Regards, Hartmut ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________