views:

70

answers:

3

Well guys. we are not supposed to ask theoratical questions here .. but dint know any other forum where someone would answer this :)

jpeg image

How is the above jpg image can be animated? As far as I know jpg format does not support animation.

+6  A: 

No, the JPEG file format has no inherent support for animation.

The image you linked is actually an animated GIF disguised with a jpg file extension. (The browser apparently ignores even the MIME type and looks at the file header bytes in such cases.)

Noldorin
+2  A: 

It is a GIF image... the extension has been changed by hand. Browser engine is smart enough to determine image format regardless of file extension.

m0s
+3  A: 

If you view the image in firefox, you can right-click on it and select properties:

You'll see Type: GIF image (animated, 54 frames)

Thus, it is a gif-image that has been renamed to .jpg.

aioobe
1 more reason I love Firefox for web development. You don't even need to view the properties, its right there (with the dimensions) in the title bar!
scunliffe
@scunliffe I <3 Firebug even more than Firefox.
m0s