Reading GIF

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Marek Strop
Forum Newbie
Posts: 6
Joined: Tue Jun 10, 2003 6:13 am
Contact:

Reading GIF

Post by Marek Strop »

I need to read a GIF from a server on Internet. Please, could anybody help me, how to do it as I understand GIF is no any more supported by GD library? I use Win XP, Apache 2 and PHP 4.3.2

Thanks a lot.

Marek
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

old php

Post by phpScott »

Find an old version of php and grab a copy of the old gd libraries and install them and and load them in your php ini file.

Other wise you can use imageMagick which is a download you can install into your configuration. http://www.imagemagick.org

I haven't really played with it but I have done some reading on it and it sounds like a wonderful set of tools for image manipulation and the like,

phpScott
Marek Strop
Forum Newbie
Posts: 6
Joined: Tue Jun 10, 2003 6:13 am
Contact:

Post by Marek Strop »

Thanks a lot for your advice. As discovered my issue was in wrongly upgraded PHP from 4.3.1 to 4.3.2, where I letf PHPTS.DLL from previous version, which cause PHP_GD2.DLL to fail during loading. Once I corrected it, I was able to read GIF with no problem.
By the way, ImageMagic looks fine, but it doesn't work with Windows at this moment - for details see:

http://blog.bitflux.ch/p918.html

http://blog.bitflux.ch/p494.html[/url]
Post Reply