Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-28-2008, 12:15 AM   PM User | #1
twodayslate
Senior Coder

 
twodayslate's Avatar
 
Join Date: Mar 2007
Location: VA
Posts: 1,042
Thanks: 67
Thanked 39 Times in 39 Posts
twodayslate is on a distinguished road
Animated .jpg?

http://i21.tinypic.com/5cc2uc.jpg
Since when has jpgs been animated? Is this new or am I just dumb?
__________________
twitter | Quality Hosting - $5.95/mo*
Feel free to PM me!
twodayslate is offline   Reply With Quote
Old 02-28-2008, 04:47 AM   PM User | #2
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,604
Thanks: 2
Thanked 399 Times in 392 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
It's a GIF image.
Inigoesdr is offline   Reply With Quote
Old 02-28-2008, 04:54 AM   PM User | #3
rangana
Senior Coder

 
rangana's Avatar
 
Join Date: Feb 2008
Location: Cebu City, Philippines
Posts: 1,752
Thanks: 65
Thanked 372 Times in 365 Posts
rangana will become famous soon enoughrangana will become famous soon enough
Quote:
Originally Posted by twodayslate View Post
http://i21.tinypic.com/5cc2uc.jpg
Since when has jpgs been animated? Is this new or am I just dumb?
You make me laugh
The name of the image is http://i21.tinypic.com/5cc2uc.jpg.gif
rangana is offline   Reply With Quote
Old 02-28-2008, 01:51 PM   PM User | #4
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,604
Thanks: 2
Thanked 399 Times in 392 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
Quote:
Originally Posted by rangana View Post
The name of the image is http://i21.tinypic.com/5cc2uc.jpg.gif
http://i21.tinypic.com/5cc2uc.jpg.png works too. What you both are missing is that the extension doesn't determine the type of file. The server is sending the file headers, which tell the browser it's a GIF image.
Inigoesdr is offline   Reply With Quote
Old 02-28-2008, 02:20 PM   PM User | #5
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,689
Thanks: 158
Thanked 2,184 Times in 2,171 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
But there is some other trick, otherwise http://i21.tinypic.com/5cc2uc.whatever ,
http://i21.tinypic.com/5cc2uc etc. won't work!
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

Last edited by abduraooft; 02-28-2008 at 02:22 PM..
abduraooft is offline   Reply With Quote
Old 02-28-2008, 02:32 PM   PM User | #6
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,604
Thanks: 2
Thanked 399 Times in 392 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
Quote:
Originally Posted by abduraooft View Post
But there is some other trick, otherwise http://i21.tinypic.com/5cc2uc.whatever ,
http://i21.tinypic.com/5cc2uc etc. won't work!
Yes, they're using a rewrite module or something similar.
Inigoesdr is offline   Reply With Quote
Old 02-28-2008, 09:18 PM   PM User | #7
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by twodayslate View Post
http://i21.tinypic.com/5cc2uc.jpg
Since when has jpgs been animated? Is this new or am I just dumb?
Code:
$ wget http://i21.tinypic.com/5cc2uc.jpg

$ file 5cc2uc.jpg
5cc2uc.jpg: GIF image data, version 89a, 48 x 48

$ identify 5cc2uc.jpg
5cc2uc.jpg[0] GIF 48x48 48x48+0+0 PseudoClass 32c 807 
5cc2uc.jpg[1] GIF 41x14 48x48+4+31 PseudoClass 32c 807 
5cc2uc.jpg[2] GIF 14x11 48x48+14+32 PseudoClass 32c 807 
5cc2uc.jpg[3] GIF 14x11 48x48+22+32 PseudoClass 32c 807 
5cc2uc.jpg[4] GIF 14x11 48x48+30+32 PseudoClass 32c 807
is a animated gif

Code:
$ wget http://i21.tinypic.com/5cc2uc.jpg.png

$ file 5cc2uc.jpg.png
5cc2uc.jpg.png: GIF image data, version 89a, 48 x 48

$ identify 5cc2uc.jpg.png
5cc2uc.jpg.png[0] GIF 48x48 48x48+0+0 PseudoClass 32c 807 
5cc2uc.jpg.png[1] GIF 41x14 48x48+4+31 PseudoClass 32c 807 
5cc2uc.jpg.png[2] GIF 14x11 48x48+14+32 PseudoClass 32c 807 
5cc2uc.jpg.png[3] GIF 14x11 48x48+22+32 PseudoClass 32c 807 
5cc2uc.jpg.png[4] GIF 14x11 48x48+30+32 PseudoClass 32c 807
Code:
$ dog http://i21.tinypic.com/5cc2uc.jpg.png
HTTP/1.0 200 OK
Date: Thu, 28 Feb 2008 21:26:00 GMT
Server: Apache
Last-Modified: Thu, 18 Oct 2007 22:42:39 GMT
Accept-Ranges: bytes
Content-Length: 807
Cache-Control: max-age=31536000
Expires: Fri, 27 Feb 2009 21:26:00 GMT
Content-Type: image/gif
X-Cache: MISS from tinypic.com
Via: 1.0 den1tpsq04:80 (squid)
Connection: close
after that is something with 89....,

best regards

Last edited by oesxyl; 02-28-2008 at 09:29 PM..
oesxyl is offline   Reply With Quote
Old 02-29-2008, 03:28 AM   PM User | #8
twodayslate
Senior Coder

 
twodayslate's Avatar
 
Join Date: Mar 2007
Location: VA
Posts: 1,042
Thanks: 67
Thanked 39 Times in 39 Posts
twodayslate is on a distinguished road
That is lame then.
I thought there was a break-through with the internetz.
__________________
twitter | Quality Hosting - $5.95/mo*
Feel free to PM me!
twodayslate is offline   Reply With Quote
Old 10-13-2008, 08:28 PM   PM User | #9
Calusarul
New to the CF scene

 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Calusarul is an unknown quantity at this point
a real case

You say "These "animated" jpgs will not work browsers that have JavaScript disabled."
Please check the link below.

http://www.nationstates.net/images/f.../pansophia.jpg

Save that image in your computer and view it with windows fax and picture viewer or a similar (not a browser) program.
Take a look at the proprieties. Isn't it an animated .jpg file?

I'll be waiting for your answer or email. Thanks
Calusarul is offline   Reply With Quote
Old 10-13-2008, 08:37 PM   PM User | #10
twodayslate
Senior Coder

 
twodayslate's Avatar
 
Join Date: Mar 2007
Location: VA
Posts: 1,042
Thanks: 67
Thanked 39 Times in 39 Posts
twodayslate is on a distinguished road
This was a very old thread.
__________________
twitter | Quality Hosting - $5.95/mo*
Feel free to PM me!
twodayslate is offline   Reply With Quote
Old 10-13-2008, 09:36 PM   PM User | #11
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by Calusarul View Post
You say "These "animated" jpgs will not work browsers that have JavaScript disabled."
Please check the link below.

http://www.nationstates.net/images/f.../pansophia.jpg

Save that image in your computer and view it with windows fax and picture viewer or a similar (not a browser) program.
Take a look at the proprieties. Isn't it an animated .jpg file?

I'll be waiting for your answer or email. Thanks
no is a animated gif:
Code:
pansophia.jpg : error: Not a JPEG file: starts with 0x47 0x49
$ identify pansophia.jpg 
pansophia.jpg[0] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[1] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[2] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[3] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[4] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[5] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[6] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[7] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[8] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[9] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[10] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[11] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[12] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[13] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[14] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[15] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[16] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[17] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[18] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[19] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb 
pansophia.jpg[20] GIF 42x47 42x47+0+0 PseudoClass 16c 6kb
you can name it basescu if you like but it's still a gif.

best regards
oesxyl is offline   Reply With Quote
Old 10-14-2008, 05:10 PM   PM User | #12
Yay
Regular Coder

 
Yay's Avatar
 
Join Date: Oct 2008
Location: 54° North, 1° West
Posts: 102
Thanks: 9
Thanked 1 Time in 1 Post
Yay is an unknown quantity at this point
Twodayslate: How small is your PC?
Yay is offline   Reply With Quote
Old 10-14-2008, 08:19 PM   PM User | #13
Millenia
Open Source Zealot

 
Join Date: May 2008
Location: Lost in Localhost...
Posts: 702
Thanks: 3
Thanked 43 Times in 42 Posts
Millenia is on a distinguished road
File extensions are almost worthless. Make a .txt document, and rename it to whatever you want, open it with a text editor and it will still show you your original .txt document contents. It's the same with images. It's just a renamed .gif.
Millenia is offline   Reply With Quote
Old 10-15-2008, 05:50 PM   PM User | #14
Yay
Regular Coder

 
Yay's Avatar
 
Join Date: Oct 2008
Location: 54° North, 1° West
Posts: 102
Thanks: 9
Thanked 1 Time in 1 Post
Yay is an unknown quantity at this point
and yes, you can rename the filetype to anything.
and here is the code you will get if you rename it as a .txt
ÿØÿà JFIF ` ` ÿÛ C

$.' ",#(7),01444'9=82<.342ÿÛ C

etc..
if anyone was wondering...

Last edited by Yay; 10-15-2008 at 05:59 PM..
Yay is offline   Reply With Quote
Old 09-11-2009, 06:39 PM   PM User | #15
bugmenot
Banned

 
Join Date: Jul 2009
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
bugmenot is an unknown quantity at this point
How about this one?

http://cache-foo-10.gawkerassets.com...00x_trippy.jpg

Every software I used say it is a JPEG.
bugmenot is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:17 AM.


Advertisement
Log in to turn off these ads.