I used next command:
Code: Select all
inkscape epsFile.eps -l svgFile.svg -z
From the php script the inkscape returns an error:
parser error : Start tag expected, '<' not found
%!PS-Adobe-3.0 EPSF-3.0
epsFile.eps cannot be opened (does not exist or not a valid SVG file)
But inkscape converting successfully from the ubuntu terminal (using the same command as in the script).
What is the problem with running eps converting from the php script?