![](https://secure.gravatar.com/avatar/6af1f724a401c9f6f746a973f33ff595.jpg?s=120&d=mm&r=g)
Hello,
i included an external figure in a document with \useexernalfigure[fig] how can i get the width and the height of this picture so that i can make a frame that has exactly the same size as the externalfigure[fig].
See the reference manual, especially frame=on. You can also define a metapost overlay and get the dimension in OverlayBox. \externalfigure[...][...,...=...,...] [...] <file> [...,...=...,...] see \useexternalfigure (1) \useexternalfigure[...][...][...,...=...,...] [...] <name> [...] <file> scale <number> factor max fit broad wfactor <number> max broad fit hfactor <number> max broad fit width <dimension> height <dimension> frame on off preset yes no display <file> preview yes no repeat yes no object yes no type eps mps pdf tif png jpg mov <tex> method eps mps pdf tif png jpg mov <tex> Patrick -- Silent is the goldfish in its bowl