All Questions

255
votes
9answers
309860 views

How do I resize an image using PIL and maintain its aspect ratio?

Is there an obvious way to do this that I'm missing? I'm just trying to make thumbnails.
57
votes
10answers
61163 views

Getting a thumbnail from a video url or data in iPhone SDK

I am trying to acquire a thumbnail (of the first frame) from a video taken from iphone 3GS camera so i can display it. Anyone been successful at doing this? If so, how to do?
259
votes
19answers
202603 views

Get img thumbnails from Vimeo?

I want to get a thumbnail image for videos from Vimeo. When getting images from Youtube I just do like this: http://img.youtube.com/vi/HwP5NG-3e8I/2.jpg Any idea how to do for Vimeo? Here is same...
33
votes
6answers
53200 views

imagecreatefrompng() Makes a black background instead of transparent?

I make thumbnails using PHP and GD library but my code turn png transparency into a solid black color, Is there a solution to improve my code? this is my php thumbnail maker code: function cropImage...
19
votes
6answers
15816 views

Is it possible to Generate a thumbnail from a video url in android

I am working on a video app. I am streaming a video from server link , is it possible for me to generate a video thumbnail from the URL without downloading the video.
25
votes
9answers
82501 views

Creating a thumbnail from an uploaded image

I'm wanting to create a thumbnail from a user uploaded image so the image doesn't look squashed. But also would like a copy of the original image.. So I would like the original image to send the origi...
20
votes
8answers
60545 views

Get thumbnail Uri/path of the image stored in sd card + android

SDK version - 1.6 I am using following intent to open android's default gallery: Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTI...
34
votes
3answers
35748 views

Getting Image Dimensions using Javascript File API

I require to generate a thumbnail of an image in my Web Application. I make use of the Html 5 File API to generate the thumbnail. I made use of the examples from the below URL to generate the thumbn...
29
votes
3answers
78501 views

Generate preview image from Video file?

Is there a way in PHP given a video file (.mov, .mp4) to generate a thumbnail image preview?
35
votes
2answers
16688 views

How do I generate circular thumbnails with PIL?

How do I generate circular image thumbnails using PIL? The space outside the circle should be transparent. Snippets would be highly appreciated, thank you in advance.

Previous Next