From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: error when using externalfigure
Date: Mon, 26 Nov 2012 11:50:13 +0100 [thread overview]
Message-ID: <CAG5iGsAfAruQUvtC3FVd2PWvR=_xe_GAmQN5xz4YrTUK+S_aiA@mail.gmail.com> (raw)
In-Reply-To: <CAKBDiW5KbfSsbSiJJzeiRCksfG6SsJ1E1Pc0BJbdaedFy__6bg@mail.gmail.com>
On Mon, Nov 26, 2012 at 11:40 AM, Pavel Dohnal <pavel.dohnal@twobits.cz> wrote:
> I can see the problem. Image has wrong information in its header. But what
> to do with it? As I mentioned before, I create context source by another
> script (PHP script) and php runs context. I have thousands of images so it
> is impossible to me every single image convert. But I created php gate which
> try convert images on the fly. When I try this particural image convert it
> gives me this image:
> http://cdn-images-squared.tripomatic.com/e46c68903d2c4445f05a0369578c17dd-270.jpg
> But after context runs this file it falls down with error message:
>
> !LuaTeX error: reading JPEG image failed (no JPEG header found)
> ==> Fatal error occurred, no output PDF file produced!
>
> mtx-context | fatal error: return code: 70
>
> Which is even worse, because although the user gets bad PDF it contains some
> information. In this case there is no pdf created. I looked in gimp for
> something bad in this image, but it looks ok to me.
> So do you have any advice what to do?
> Thanks
no errors here for
\starttext
\externalfigure[e46c68903d2c4445f05a0369578c17dd-270.jpg][width=26.5mm]
\externalfigure[e46c68903d2c4445f05a0369578c17dd-270.jpg]%[width=26.5mm]
\externalfigure[http://cdn-images-squared.tripomatic.com/e46c68903d2c4445f05a0369578c17dd-270.jpg][width=26.5mm]
\stoptext
--
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-26 10:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 9:20 Pavel Dohnal
2012-11-26 9:27 ` Hans Hagen
2012-11-26 9:56 ` Pavel Dohnal
2012-11-26 9:36 ` luigi scarso
2012-11-26 9:50 ` Hans Hagen
2012-11-26 10:00 ` luigi scarso
2012-11-26 10:10 ` Martin Schröder
2012-11-26 10:40 ` Pavel Dohnal
2012-11-26 10:50 ` luigi scarso [this message]
2012-11-26 12:32 ` Hans Hagen
2012-11-26 15:01 ` Sietse Brouwer
2012-11-26 19:54 ` Dr. Hartmut Henkel
2012-11-26 20:42 ` Hans Hagen
[not found] <mailman.384.1353926481.2161.ntg-context@ntg.nl>
2012-11-26 11:21 ` Robert Blackstone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG5iGsAfAruQUvtC3FVd2PWvR=_xe_GAmQN5xz4YrTUK+S_aiA@mail.gmail.com' \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).