On Mon, Nov 26, 2012 at 10:50 AM, Hans Hagen
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