From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79522 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: error when using externalfigure Date: Mon, 26 Nov 2012 11:00:58 +0100 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 1353924069 28858 80.91.229.3 (26 Nov 2012 10:01:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 10:01:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 26 11:01:21 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 1TcvVB-0001MV-6J for gctc-ntg-context-518@m.gmane.org; Mon, 26 Nov 2012 11:01:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1BF8910279; Mon, 26 Nov 2012 11:01:10 +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 pgwxyod0D93K; Mon, 26 Nov 2012 11:01:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C368910256; Mon, 26 Nov 2012 11:01:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B553F10251 for ; Mon, 26 Nov 2012 11:01:00 +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 9R2KzwN02UuH for ; Mon, 26 Nov 2012 11:00:59 +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 3B69F10244 for ; Mon, 26 Nov 2012 11:00:59 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAQA0wnG001609 for ; Mon, 26 Nov 2012 11:00:58 +0100 Original-Received: by mail-ee0-f41.google.com with SMTP id d41so7600969eek.14 for ; Mon, 26 Nov 2012 02:00:58 -0800 (PST) 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=IcpCPgLrkkQRH2HtK2x/h3zTXRjRTF0uAfcDYuoW4eg=; b=fca1E4KPoySdnLSWyCl3b9NKrPa8gYwbJBJSnIYe8GCVU5jjnx0Ed/QL+IUJRw7vAc r/oaupcZ4BkvM+93SHpqhacAn7irSal5qJ5QiQCHHpnVKIhwdXOTL+JDPZBkPzd/NHOq Tz0PuzdfdSoz3gfefpr+zLNdpyduWXNqHLaaSrIOt14pEZW90jqRm8AYS9XxAnFmRUSB 6sa9z4iVyEng+9lh+fn/CZqDVt8Psa+KUZmcfb8QmToV+FhTTgq+mgE0nwpXiIhmr2Ll A5SOEROw7SfJN99XnPtTsoAtaw+ZfXLY6igeufbOdG53uKfyu5Co1ij/x3rj5tqT9BI0 rwvg== Original-Received: by 10.14.177.1 with SMTP id c1mr43779694eem.8.1353924058585; Mon, 26 Nov 2012 02:00:58 -0800 (PST) Original-Received: by 10.223.12.140 with HTTP; Mon, 26 Nov 2012 02:00:58 -0800 (PST) In-Reply-To: <50B33B49.9070206@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIsa0W4V - d64e7cabd043 - 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:79522 Archived-At: On Mon, Nov 26, 2012 at 10:50 AM, 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: >>> >>> Hello, >>> 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 >> >> >> >> when I save the jpg as eps from gimp >> I see >> width = 6096,00 >> height=4064,00 >> >> 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 Hm, I'm not sure. It's an image that could be correct, but TeX cannot manage it. It has 240x160 pixels and 1ppi, so it's 6,096 meters x 4,06400meters and 6 meters are too much for TeX (which still has its limits around 5meters) It's ok to print poster maybe, but then TeX is not the right tool. -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________