A document has a mix of SVG and PNG images. Changing the parameters for
`\setupexternalfigure` affects both SVG and PNG images. Consider the
following code:

    \setupexternalfigures[
      order={svg,pdf,png,jpg},
      location={local,default,global},
      directory={images},
      maxwidth=\textwidth,
      maxheight=0.4\textheight
    ]

I'd like to change the `maxheight` option for only PNG images, such as:

    \setupexternalfigure[
      method=png,
      maxwidth=\textwidth,
      maxheight=\textheight,
    ]

However, this affects SVG images as well.

How do you apply different external figure setups based on image type?

Thank you!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to