MathGroup Archive 2005

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

Search the Archive

Re: Problems with eps format

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56705] Re: [mg56673] Problems with eps format
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Wed, 4 May 2005 00:33:41 -0400 (EDT)
  • References: <200505020532.BAA00325@smc.vnet.net> <200505030926.FAA25654@smc.vnet.net> <acbec1a405050310227e6b51c1@mail.gmail.com> <4277B9D5.5030506@craft-tech.com> <acbec1a4050503105820d9a48c@mail.gmail.com>
  • Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

(just plain .ps)

On 5/3/05, Chris Chiasson <chris.chiasson at gmail.com> wrote:
> To be honest, I don't know what EPS level three is. Are you sure
> you're not trying to import a post script file?
> 
> On 5/3/05, Ted Sariyski <tsariysk at craft-tech.com> wrote:
> > 'PostScript document text conforming at level 3.0 - type EPS' files are generated from another application. When I try to import them I got "Invalid file format". That's why I converted the files to a format I was able to import.  Actually that's one of my questions: Why I'm able to import eps level 2 but unable to import eps level 3 into Mathematica?
> > Thanks, Ted
> >
> >
> > Chris Chiasson wrote:
> >
> > >Why import a tif into Mathematica and then export it as an eps? Tif is
> > >a raster format, eps is a ~ vector format. It probably would take a
> > >long time to convert an array of color values into some sort of vector
> > >graphics.
> > >What is the native resolution of your tiffs? If they are moderate in
> > >size, that would explain the slow performance of the graphics array
> > >and associated statements.
> > >
> > >On 5/3/05, Ted Sariyski <tsariysk at craft-tech.com> wrote:
> > >
> > >
> > >>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
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> >
> > --
> > Ted Sariyski
> > ------------
> > Combustion Research and Flow Technology, Inc.
> > 6210 Keller's Church Road
> > Pipersville, PA 18947
> > Tel: 215-766-1520
> > Fax: 215-766-1524
> > www.craft-tech.com
> > tsariysk at craft-tech.com
> >
> >
> 
> --
> Chris Chiasson
> http://chrischiasson.com/
> 1 (810) 265-3161
> 


-- 
Chris Chiasson
http://chrischiasson.com/
1 (810) 265-3161


  • Prev by Date: Re: Problems with eps format
  • Next by Date: Re: Format[ ] with \[OverBracket] in a package `Private` context
  • Previous by thread: Re: Re: Problems with eps format
  • Next by thread: Re: Problems with eps format