On Sun, 04 Dec 2011 14:15:44 +0530, Saravanan Murugaiah wrote: > Hi, > > Yes, the problem with the eps file, in general, if you open the .eps > file in notepad, you can see the below things: > > %%%%% > > %%Creator: Adobe Illustrator(R) 15.0 > %%For: welcome > %%CreationDate: 9/7/2011 > %%BoundingBox: 0 0 367 321 > %%HiResBoundingBox: 0 0 366.7198 320.6792 %%CropBox: 0 0 366.7198 > 320.6792 > > %%% > > If not so, then you can assume that, problem in that eps only. > > Regards, > MadYuv > > > On Sun, Dec 4, 2011 at 12:52 PM, Jim Gibson <jimsgib...@gmail.com> > wrote: > >> At 7:05 AM +0000 12/4/11, Huub van Niekerk wrote: >> >>> Hi, >>> >>> I'm trying to import an eps file but I get errors. Can somebody tell >>> how I can solve either of these 2 errors. BTW, I'm not using them at >>> the same time. >>> >>> $ps->importepsfile("/mnt/**Kaapstadadmin/HVW/logo-2-** >>> gemeentekleuren.eps", >>> 0,0, 151,90); >>> >>> Error with above line: Can't call method "importepsfile" on an >>> undefined value at >>> >>> >> >> The variable $ps is undefined. Can you show us any preceding statements >> that assigned a value to $ps. If $ps is supposed to be an object, then >> it is likely that there was some error in creating the object instance. >> >> >> >>> $e = new PostScript::Simple::EPS(file => "$hostname/admin/HVW/logo-2- >>> gemeentekleuren.eps"); >>> >>> Error with above line: EPS file must contain a BoundingBox at /mnt/ >>> Kaapstadadmin/HVW/Logo-etiket/**Logo-etiket.pl >>> >>> >> That error seems to indicate a problem in the EPS file.
The EPS file shows this: %!PS-Adobe-3.0 EPSF-3.0 %%Creator: GIMP PostScript file plugin V 1.17 by Peter Kirchgessner %%Title: logo-2-gemeentekleuren.eps %%CreationDate: Sat Dec 3 21:52:39 2011 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%Pages: 1 %%BoundingBox: 14 14 123 79 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/