error converting svg file
Posted: 2012-10-18T02:33:36-07:00
when I try to convert via php my svg file to ex. png file i get this error:
however when I do this via commend line everything is ok. I would use php exec() command, but I'm using PHP + IIS server, so I don't wanna to grant permission to use cmd.exe by IUSR user (the IIS user)
can anyone tell me how to fix this problem?
EDIT:
mixing convert.exe... with exec() function didn't do that I'm getting thesame error as above.
Code: Select all
$filename = '507e6221c9f0f.svg';
$content = file_get_contents($filename);
$im = new Imagick();
$im->readImageBlob($content);
Code: Select all
Fatal error: Uncaught exception 'ImagickException' with message 'no decode delegate for this image format `' @ blob.c/BlobToImage/347' in..
can anyone tell me how to fix this problem?
EDIT:
mixing convert.exe... with exec() function didn't do that I'm getting thesame error as above.