On Mon, Nov 26, 2012 at 11:40 AM, Pavel Dohnal
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-27... 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