ImageMagick not working for gif image
Posted: 2012-10-10T01:34:12-07:00
Hi ,
i am using imagemagic to find out image size.. and its working fine for png and jpg images but for gif image it giving me below error,
2
PLesea help!!!!!!!!!!!!1
Thanks,
sonali
i am using imagemagic to find out image size.. and its working fine for png and jpg images but for gif image it giving me below error,
2
Code: Select all
012-10-10T08:10:02+00:00 app[web.1]:
2012-10-10T08:10:02+00:00 app[web.1]: /app/node_modules/imagemagick/imagemagick.
js:126
2012-10-10T08:10:02+00:00 app[web.1]: prop[comps[0].trim().toLowerCase()
] = comps[1].trim()
2012-10-10T08:10:02+00:00 app[web.1]:
^
2012-10-10T08:10:02+00:00 app[web.1]: TypeError: Cannot set property '6649' of u
ndefined
2012-10-10T08:10:02+00:00 app[web.1]: at parseIdentify (/app/node_modules/im
agemagick/imagemagick.js:126:45)
2012-10-10T08:10:02+00:00 app[web.1]: at [object Object].callback (/app/node
_modules/imagemagick/imagemagick.js:155:18)
2012-10-10T08:10:02+00:00 app[web.1]: at [object Object].finish (/app/node_m
odules/imagemagick/imagemagick.js:60:55)
2012-10-10T08:10:02+00:00 app[web.1]: at ChildProcess.<anonymous> (/app/node
_modules/imagemagick/imagemagick.js:86:11)
2012-10-10T08:10:02+00:00 app[web.1]: at ChildProcess.emit (events.js:70:17)
2012-10-10T08:10:02+00:00 app[web.1]: at maybeExit (child_process.js:358:16)
2012-10-10T08:10:02+00:00 app[web.1]: at Process.onexit (child_process.js:39
4:5)
Thanks,
sonali