0

So lets say I have 10 animated gifs in my folder in my server.

I am wanting to generate non animated thumbnails for these gifs. How can I do this dynamically without having to save any thumbnails into folders.

user229044
  • 232,980
  • 40
  • 330
  • 338
user1616846
  • 181
  • 1
  • 1
  • 10
  • 1
    Why *wouldn't* you want to persist the thumbnails to disk? This is definitely the kind of thing you should be caching rather than regenerating every request. – user229044 Dec 17 '12 at 17:12

1 Answers1

0

imagemagick is one option, GD library is already bundled with PHP: http://us1.php.net/manual/en/function.imagecopyresized.php

By not saving the image be aware that your script could end up being a resource hog. It may also choke on larger images.

mister martin
  • 6,197
  • 4
  • 30
  • 63