|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I need to convert a gif to a jpg in realtime
I am looking for a script that will convert a gif picture to either a jpg or a png in realtime.
So that convert.php?picture.gif.jpg or whatever returns a jpeg of the original image picture.gif. I need it to work with PHP or Perl (prefferably PHP) in a Linux enviroment. I do not have root access. I can use binaries such as NETPBM. Any ideas? Thanks, Hank |
|
#2
|
|||
|
|||
|
Is imagemagick installed?
|
|
#3
|
|||
|
|||
|
imagemagick is not installed but I could install it. NETPBM is installed. What do I need to make it work?
|
|
#4
|
|||
|
|||
|
I found the answer, thanks to Andrew.
PHP Code:
|
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > I need to convert a gif to a jpg in realtime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|