MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Problems with eps format

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56673] Problems with eps format
  • From: Ted Sariyski <tsariysk at craft-tech.com>
  • Date: Tue, 3 May 2005 05:26:24 -0400 (EDT)
  • References: <200505020532.BAA00325@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
I have problems with eps format in Mathematica 5.1.

If I try to import a file generated from Octave I get "Invalid file 
format". The format of the file is  "PostScript document text conforming 
at level 3.0 - type EPS". If I import a tif file to Mathematica, export 
it in eps and reimport it back it works but very slow. The format of the 
eps generated from Mathematica is "PostScript document text conforming 
at level 2.0 - type EPS". What I'm doing wrong here?

Another question I have concerns the dumb script below.

g11 = Import["c_s_a.tif"];
g12 = Import["c_s_b.tif"];
...
g43 = Import["a_l_a.tif"];
g = GraphicsArray[{{g11, g12, g13}, {g21, g22, g23}, {g31, g32, g33}, 
{g41, g42, g43}}];
Show[g, {ImageSize -> {600, 420}, AspectRatio -> Automatic}];
Export["array.tif", g];

Q1. Export["array.tif", g] takes ~ 20 sec. If I change it to 
Export["array.eps", g] it takes ~3 min.
Q2. The same script executed from a notebook freezes.
Q3. How to write the script so that to be able to provide the file names 
as arguments?

Thanks in advance,
Ted



  • Prev by Date: Re: Summation problem
  • Next by Date: Reading from a file.
  • Previous by thread: Re: books on writing packages
  • Next by thread: Re: Problems with eps format