Finding height/width of a graphic, while creating it?
- To: mathgroup at smc.vnet.net
- Subject: [mg37672] Finding height/width of a graphic, while creating it?
- From: AES Newspost <siegman at stanford.edu>
- Date: Fri, 8 Nov 2002 02:14:51 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Are there width and height variables associated with a graphic that I
can read or access while I'm creating it? -- specifically the width and
height that will be associated with that graphic after it is Exported as
an EPS file?
Reason for asking is, I might like to put a tiny ID label in one of the
corners of each graphic I create, using Text[] for example, that would
give for example the graphics' name, date created, and dimensions.
Alternatively, is there a way to read the dimensions of a graphic after
creating it, in the same notebook -- a function like
GraphicDimensions[myGraphic]
so I could at least print the dimensions separately?
( ImageSize -> {width,height}*72 doesn't do what's needed.)
-----
"Power tends to corrupt. Absolute power corrupts absolutely."
Lord Acton (1834-1902) (slightly modified)
"Dependence on advertising tends to corrupt. Total dependence
on advertising corrupts totally." -- Modern equivalent.