For Programmers: Free Programming Magazines  


Home > Archive > Mathematica > June 2005 > Re: (suggestion to Wolfram)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: (suggestion to Wolfram)
Chris Chiasson

2005-06-09, 9:01 am

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@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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com