Image Placement
Jump to navigation
Jump to search
< Using–Graphics >
If you’re using ConTeXt for complex layout tasks, you need to calculate with image sizes. Often it makes sense to use Lua functions.
Measures in pure ConTeXt
Beware, TeX calculates internally in "scaled points" (sp), 1 sp = 1/65536 pt.
\setupexternalfigures[location=default] \getfiguredimensions[hacker.jpg] % defines a bunch of variables, e.g.: \figurefullname \figurefilepath \figurefilename \figurefiletype