Output from Export[ ] (suggestion to Wolfram)
- To: mathgroup at smc.vnet.net
- Subject: [mg57781] Output from Export[ ] (suggestion to Wolfram)
- From: AES <siegman at stanford.edu>
- Date: Wed, 8 Jun 2005 03:21:30 -0400 (EDT)
- Organization: Stanford University
- Sender: owner-wri-mathgroup at wolfram.com
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?
- Follow-Ups:
- Re: Output from Export[ ] (suggestion to Wolfram)
- From: Chris Chiasson <chris.chiasson@gmail.com>
- Re: Output from Export[ ] (suggestion to Wolfram)