Page 1 of 1
How to determine the format of a file accessed via http?
Posted: 2008-02-23T13:22:01-07:00
by rmagick
Is there any way to determine the real format of a file identified using http? For example,
Code: Select all
identify -verbose http://www.google.com/intl/en_ALL/images/logo.gif
says that the format is HTTP. Is there any way to determine that the file is actually a GIF file?
Re: How to determine the format of a file accessed via http?
Posted: 2008-02-23T18:36:16-07:00
by magick
We have a patch in ImageMagick 6.3.9-0 Beta for the problem you reported. The patch will mirror world-wide within 24 hours.
Re: How to determine the format of a file accessed via http?
Posted: 2008-02-23T20:28:27-07:00
by rmagick
And I didn't even realize it was a problem! Thanks! I'll pass this on to the RMagick user who asked me about it.
Re: How to determine the format of a file accessed via http?
Posted: 2008-02-25T17:48:19-07:00
by rmagick
Am I missing something? I still get HTTP for the format.
Code: Select all
tim@linux:~$ identify -version http://www.google.com/intl/en_ALL/images/logo.gif
Version: ImageMagick 6.3.9 02/25/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
http://www.google.com/intl/en_ALL/images/logo.gif=>/home/tim/tmp/magick-XXKyiJvA HTTP 276x110 276x110+0+0 PseudoClass 256c 8-bit 8.35742kb
tim@linux:~$ identify -verbose http://www.google.com/intl/en_ALL/images/logo.gif
Image: /home/tim/tmp/magick-XXCz6cV1
Base filename: logo.gif
Format: HTTP (Uniform Resource Locator (http://))
Class: PseudoClass
Geometry: 276x110+0+0
Resolution: 72x72
Print size: 3.83333x1.52778
Units: Undefined
Type: Palette
Endianess: Undefined
Re: How to determine the format of a file accessed via http?
Posted: 2008-02-25T19:01:19-07:00
by magick
The problem is fixed in ImageMagick 6.3.9-1 Beta available sometime tomorrow.
Re: How to determine the format of a file accessed via http?
Posted: 2008-02-25T19:08:59-07:00
by rmagick
Thanks!