ImageMagick not working for gif image

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
sonali
Posts: 1
Joined: 2012-10-10T01:20:34-07:00
Authentication code: 67789

ImageMagick not working for gif image

Post by sonali »

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

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)
PLesea help!!!!!!!!!!!!1


Thanks,
sonali
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick not working for gif image

Post by fmw42 »

Post a link to your gif image. Perhaps it is corrupt? What version of IM and what platform are you using?
Post Reply