Reading image properties of EPS fails or is very slow
Posted: 2008-09-24T09:13:28-07:00
Using:
ImageMagick 6.4.3 2008-09-21
Ghostscript 8.63 2008-08-01
Windows XP SP2
I am trying to extract properties (file size, width, height, dpi, colorspace) from an EPS image and am using the following command:
This returns the correct information, but is very slow - 4-40 seconds depending on the image!
I tried using the -ping option to speed things up, but get this error:
The "UnableToConcatenateString" only occurs for some EPS images, not all.
But ImageMagick is always slow when retrieving EPS image properties.
Does anyone know why the -ping option causes imagemagick to fail? Or how to speed up the reading of EPS image properties?
ImageMagick 6.4.3 2008-09-21
Ghostscript 8.63 2008-08-01
Windows XP SP2
I am trying to extract properties (file size, width, height, dpi, colorspace) from an EPS image and am using the following command:
Code: Select all
identify -format "%w %h %[colorspace] %b %[xresolution] %[yresolution]" image.eps
I tried using the -ping option to speed things up, but get this error:
Code: Select all
identify -ping -format "%w %h %[colorspace] %b %[xresolution] %[yresolution]" image.eps
identify: UnableToConcatenateString `No such file or directory'.
But ImageMagick is always slow when retrieving EPS image properties.
Does anyone know why the -ping option causes imagemagick to fail? Or how to speed up the reading of EPS image properties?