[NTG-context] jpeg problem: Dimension too large
Harald Koenig
koenig at tat.physik.uni-tuebingen.de
Mon Mar 9 22:18:28 CET 2015
Hi,
and here a 1st problem including (some) JPGs which are created/converted using "convert"
from ImageMagick (using ImageMagick-6.8.6.9-2.28.1.x86_64 from openSUSE 13.1 -- just in case...)
btw. -- I'm using a decent standalone context installation, full log file attached...
running "context j1.tex" I get
LuaTeX warning: arithmetic: number too big
graphics > inclusion > limiting natural dimensions of './IMG_9712c1_bad.jpg' (height)
tex error > error on line 1 in file /home/harald/tex/Indien-2015/j1.tex: ! Dimension too large
for "IMG_9712c1_bad.jpg" which was generated with this command:
convert -resize 632x330 IMG_9712c1_ok.jpg IMG_9712c1_bad.jpg
using other tools I can't find any problem with that "bad" jpg, only context complains:-(
what's wrong with "IMG_9712c1_bad.jpg" ?
tanks,
Harald
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
\/\/\/\/\/\/\/\/\/
Harald Koenig // / \\ \
koenig at tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: j1.tex
Type: application/x-tex
Size: 89 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150309/661991a3/attachment-0001.tex>
-------------- next part --------------
open source > 1 > 1 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-yes.mkiv
>
ConTeXt ver: 2015.02.03 23:55 MKIV beta fmt: 2015.3.5 int: english/english >
>
system > 'cont-new.mkiv' loaded
open source > 2 > 2 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-new.mkiv
close source > 2 > 2 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-new.mkiv
system > files > jobname 'j1', input './j1', result 'j1'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > /home/harald/tex/Indien-2015/j1.tex
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
LuaTeX warning: arithmetic: number too big
graphics > inclusion > limiting natural dimensions of './IMG_9712c1_bad.jpg' (height)
tex error > error on line 1 in file /home/harald/tex/Indien-2015/j1.tex: ! Dimension too large
\relocateexternalfigure ...d \foundexternalfigure
\bgroup \box \foundexterna...
l.1 \relocateexternalfigure
\grph_include_place ...\ctxlua {figures.include()}
\ctxlua {figures.scale()}\...
\grph_include_figure ...include_place [#1][#2][#3]
\fi
\syst_helpers_triple_empty_two_spaced ...{#2}][][]
<to be read again>
\par
l.6
1 >> \starttext
2
3 \externalfigure[IMG_9712c1_ok]
4
5 \externalfigure[IMG_9712c1_bad]
6
7 \stoptext
8
9
10
?
tex error > error on line 1 in file /home/harald/tex/Indien-2015/j1.tex: ! Dimension too large
\page_otr_eject_page_and_flush_inserts ...getotal
>\pagegoal \else \normalvf...
\228>last ...ge_otr_command_next_page_and_inserts
\relax \doifbothsidesoverr...
\page_breaks_handle_step ...ent_option \endcsname
\else \ifcsname \??pagebre...
\9>>1 #1,->\page_breaks_handle_step {#1}
\syst_helpers_do_process_comma_item
\syst_helpers_do_process_comma_list ...rgument #1,
]\relax \global \advance \...
\page_breaks_process ...t \page_breaks_handle {#1}
\else \page_breaks_handle_...
...
l.7 \stoptext
1 >> \starttext
2
3 \externalfigure[IMG_9712c1_ok]
4
5 \externalfigure[IMG_9712c1_bad]
6
7 \stoptext
8
9
10
?
backend > xmp > using file '/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
pages > flushing realpage 2, userpage 2
close source > 2 > 3 > /home/harald/tex/Indien-2015/j1.tex
close source > 1 > 3 > /home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-yes.mkiv
system > structure > start used structure
used structure > text: j1
system > structure > stop used structure
system > files > start used files
used file > 1: filename=cont-yes.mkiv filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file > 2: filename=publ-imp-apa.lua filetype=lua foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/publ-imp-apa.lua usedmethod=database
used file > 3: filename=cont-new.mkiv filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file > 4: filename=lang-us.lua filetype=lua foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file > 5: filename=/home/harald/tex/Indien-2015/j1.tex foundname=/home/harald/tex/Indien-2015/j1.tex usedmethod=direct
used file > 6: filename=lm.lfg filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used file > 7: filename=lmroman12-regular filetype=otf format=otf foundname=/home/harald/tex/Indien-2015/ct/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used file > 8: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/harald/tex/Indien-2015/ct/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used file > 9: filename=/home/harald/tex/Indien-2015/IMG_9712c1_ok.jpg format=tex foundname=/home/harald/tex/Indien-2015/IMG_9712c1_ok.jpg usedmethod=direct
used file > 10: filename=/home/harald/tex/Indien-2015/IMG_9712c1_bad.jpg format=tex foundname=/home/harald/tex/Indien-2015/IMG_9712c1_bad.jpg usedmethod=direct
used file > 11: filename=lpdf-pdx.xml filetype=tex foundname=/home/harald/tex/Indien-2015/ct/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database
system > files > stop used files
system > options > start commandline options
used option > currentrun="1"
used option > fulljobname="./j1.tex"
used option > input="./j1.tex"
used option > kindofrun="1"
used option > maxnofruns="8"
used option > no-parse-first-line="true"
system > options > stop commandline options
system > options > start commandline files
used file > 1: ./j1.tex
system > options > stop commandline files
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: /home/harald/tex/Indien-2015/ct/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.014 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 11 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 364 modules (0.265 sec), 76 tables (0.007 sec), 440 chunks (0.272 sec)
mkiv lua stats > running in nuts mode: yes
mkiv lua stats > cleaned up reserved nodes: 44 nodes, 439 lists of 438
mkiv lua stats > node memory usage: 2 glue, 2 penalty, 9 attribute, 37 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats > node list callback tasks: 6 unique task lists, 5 instances (re)created, 81 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns: en::2, load time: 0.000
mkiv lua stats > jobdata time: 0.000 seconds saving, 0.001 seconds loading
mkiv lua stats > callbacks: 273 direct, 243 indirect, 516 total
mkiv lua stats > randomizer: resumed with value 0.91750514736283
mkiv lua stats > result saved in file: j1.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats > fonts load time: 0.260 seconds
mkiv lua stats > graphics processing time: 11.089 seconds including tex, 2 processed images, 2 unique asked, 2 bad names
mkiv lua stats > used platform: linux-64, type: unix, binary subtree: texmf-linux-64
mkiv lua stats > luatex banner: this is luatex, version beta-0.79.3 (tex live 2015/dev) (rev 5140)
mkiv lua stats > control sequences: 40447 of 65536 + 100000
mkiv lua stats > lua properties: engine: lua, used memory: 58 MB (ctx: 58 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats > runtime: 12.827 seconds, 2 processed pages, 2 shipped pages, 0.156 pages/second
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMG_9712c1_ok.jpg
Type: image/jpeg
Size: 16916 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150309/661991a3/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMG_9712c1_bad.jpg
Type: image/jpeg
Size: 52091 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150309/661991a3/attachment-0003.jpg>
More information about the ntg-context
mailing list