[NTG-context] \externalfigure and file size

Peter Rolf indiego at gmx.net
Thu Jan 19 11:58:29 CET 2012

Am 19.01.2012 01:25, schrieb Kip Warner:
> Hey list,
> I have a number of \externalfigure commands to typeset some svg images.
> This is often handy to have them vectorized because it allows for the
> user to zoom in on diagrams of great detail. 
> In other situations, I find that for images that are not so important,
> they would benefit from ConTeXt rasterizing them when they are imported.
> The reason for this is I find some vector images get enormously bloated
> when they are typeset. As an example, I have a Logo.svg of only 6.8 KB.
> The m_k_i_v_Logo.pdf intermediate ConTeXt generates is nearly a megabyte
> in size. Why? I have no idea, as they both appear to be the same image
> with the same gausian blur.

Probably because the exported PDF contains a raster image (at least the
blured part). If you use Inkscape to save your SVG logo as PDF, you will
see a dialog box with an option for this (rasterize filter effects).
Remove the hook and you'll get a small, but unblured PDF graphic.

Best wishes,  Peter

More information about the ntg-context mailing list