I am using imagemagick to identify an image file with the following
expressions:
$match = '#'.preg_quote($this->imageName).' (.+) (\d+)x(\d+) (\w+) (.+) (\d+) [b|kb|mb]#';
I get error when using above expressions to match following output of identify command:
$ identify ocp.jpg
$ ocp.jpg JPEG 368x107+0+0 DirectClass 8-bit 25.5kb 0.020u 0:01
Now I am looking for new expressions to match the above output.
Thanks in advance.
Regards
Muhammad Ali


