Getting an eps into a file

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dochawk
Posts: 43
Joined: Wed Sep 02, 2009 9:29 pm

Getting an eps into a file

Post by dochawk » Thu Jun 07, 2012 4:47 pm

I'm trying to get an eps into a card.

I used File->import control. I then have to set to "all file types" as neither all images nor unix files causes eps to show.

I get the error
An error occurred when trying to import the image file:
/home/hawk/petition.1.eps
263,2165,1/home/hawk/petition.1.eps
253,3161,1
253,3106,1
490,3102,1
This is on a a freshly installed ubuntu 12.04 under parallels 7 on a mac.

Is there something else I need to install?

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Getting an eps into a file

Post by Klaus » Thu Jun 07, 2012 5:00 pm

I never touched *NIX, but EPS is NOT an image file format, so that won't work!
Try to import the EPS file:
...
import EPS from file "/home/hawk/petition.1.eps"
...
And see what happens :)


Best

Klaus

dochawk
Posts: 43
Joined: Wed Sep 02, 2009 9:29 pm

Re: Getting an eps into a file

Post by dochawk » Thu Jun 07, 2012 5:48 pm

Livecode bombs instantly with signal 11 when I do that from either the message box, or a button triggering a card script! :cry:

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Getting an eps into a file

Post by Klaus » Thu Jun 07, 2012 6:03 pm

Oops? :shock:

Hm, that is the official syntax, sounds like a bug.
Write to "bugs@runrev.com"


Best

Klaus

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Getting an eps into a file

Post by mwieder » Thu Jun 07, 2012 8:37 pm

I never tried dealing with eps files before, but I can replicate the crash here.

dochawk
Posts: 43
Joined: Wed Sep 02, 2009 9:29 pm

Re: Getting an eps into a file

Post by dochawk » Fri Jun 08, 2012 2:45 am

It appears that the eps really hasn't been touched by runrev since metacard, which was unix (not linux) only. It's just never been removed . . .

It requires Display Postscript, something which I really had't heard since the NeXT days . . .

hawk

Post Reply