Re: Output from Export[ ] (suggestion to Wolfram)
- To: mathgroup at smc.vnet.net
- Subject: [mg57801] Re: [mg57781] Output from Export[ ] (suggestion to Wolfram)
- From: Chris Chiasson <chris.chiasson at gmail.com>
- Date: Thu, 9 Jun 2005 05:17:34 -0400 (EDT)
- References: <200506080721.DAA11604@smc.vnet.net>
- Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
I second this idea. It may actually already be implemented though (similar to the way -Graphics- represents the head Graphics wrapped around directives/primitives). Anyone know? On 6/8/05, AES <siegman at stanford.edu> wrote: > Export[---] (without a following semicolon) prints the filename of the > exported file to an output cell in the notebook. > > Sure would be nice if options could be added to have this output cell > contain a bunch of additional information such as > > --Full path for the output file > --File size > --Name of object exported, as well as file name > --Format used > > plus all kinds of potentially useful format-specific and object-specific > data such as graphic dimensions for an EPS file; pixel dimensions for > JPEG and the like; fonts used and/or embedded; number of characters > and/or lines for a text file; and so on. (Presumably much of this > information can be decoded from within the output file itself, but we > amateurs may not find that so easy to do.) > > Any simple command that will extract all this information from the > kernal or front end immediately following execution of an Export[---] > command? > > Also, to have an output cell with the filename be printed even when the > Export[---]; command is executed within a longer sequence of expressions > separated by semicolons, the following seems to work: > > Print[Export[---]]; > > Anything illegal or immoral about doing this? > > -- Chris Chiasson http://chrischiasson.com/ 1 (810) 265-3161
- References:
- Output from Export[ ] (suggestion to Wolfram)
- From: AES <siegman@stanford.edu>
- Output from Export[ ] (suggestion to Wolfram)