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. -- Jim Gibson [email protected] -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
