ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
To: ConTeXt users <ntg-context@ntg.nl>
Cc: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: jpeg problem: Dimension too large
Date: Mon, 9 Mar 2015 22:18:28 +0100	[thread overview]
Message-ID: <20150309211828.GA18849@hl.fritz.box> (raw)

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

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@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

[-- Attachment #2: j1.tex --]
[-- Type: application/x-tex, Size: 98 bytes --]

[-- Attachment #3: j1.log --]
[-- Type: text/plain, Size: 7960 bytes --]

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


[-- Attachment #4: IMG_9712c1_ok.jpg --]
[-- Type: image/jpeg, Size: 16916 bytes --]

[-- Attachment #5: IMG_9712c1_bad.jpg --]
[-- Type: image/jpeg, Size: 52091 bytes --]

[-- Attachment #6: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2015-03-09 21:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 21:18 Harald Koenig [this message]
2015-03-10  8:35 ` luigi scarso
2015-03-10  8:42 ` Hans Hagen
2015-03-10  8:51 ` Hans Hagen
2015-03-10  9:30   ` luigi scarso

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=20150309211828.GA18849@hl.fritz.box \
    --to=koenig@tat.physik.uni-tuebingen.de \
    --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).