thumbnails

RubyCocoa: Thumbnail Images in NSTableView

I'm trying to display an NSTableView of: | thumbnail | filename | I created the NSTableView in IB and delegated it to a class. In the class, I bypassed a model just to get a POC implementation and created the data source delegate methods. They populate the text cells just fine. However, now I'm at the step where the first cell needs to...

Resizing N # of squares to be as big as possible while still fitting into box of X by Y dimensions. (Thumbnails!)

I have N squares. I have a Rectangular box. I want all the squares to fit in the box. I want the squares to be as large as possible. How do I calculate the largest size for the squares such that they all fit in the box? This is for thumbnails in a thumbnail gallery. int function thumbnailSize( iItems, // The number of items to fit...

generate "thumbnail" in html while keeping proportions

Is it possible to downsize an image in html while keeping proportions? I know I can use height and width attribute of img tag, but I don't know the image size. Please don't tell me to find out the image size on the server, or that the right way to do this is to generate thumbnails on the server side and that is saves bandwidth and impr...

Generating thumbnails of the webpages visited on a client side

Hi, I developing an extension - firefox so with this extension i keep track of the pages the user visits and now what i want to do is, i want to be able to popup a thumbnail of the webpage when the user hovers the mouse over the link. i have done that using third party websites for generating thumbnials such as http://images.websnapr.co...

django - save a resize copy of image on upload (using admin site)

Hi - I'm building a site for a client that needs to support image uploads (an artist) through the admin interface. Since most of the images are pretty high-res, I wanted to create thumb copies of the image to display on the gallery page after the upload. The upload works great with the forms.ImageFile element, but I was looking for som...

Combine Thumbnails to One Large Image with RMagick

What's the shortest way to combine say 20 256x256 thumbnails into a single large image of 4 rows by 5 columns using RMagick? ...

Creating thumbnails from video files with Python

I need to create thumbnails for a video file once I've uploaded to a webapp running python. How would I go about this... I need a library that can basically either do this for me, or that can read the image frames out of video files (of several formats) automatically. ...

Getting/generating an image from embedded flash video

So what I am curious about is if it is possible and how, to have an embedded video and capture the thumbnail. There are other sites that share video and I'd like to get the thumbnails from the embedded videos, but they use flash video players to show the video and likely use flashvars to pull up the right video. I appreciate any help h...

How to generate polygonal thumbs?

Is there's a way to generate polygonal thumbnails in PHP? (ImageMagick, GD, etc) Here is an example of what I want to achieve: http://www.area105.com/gallery/shme/thumb1.png ...

Java: Generating thumbnails with transparency

Hi, I'm having problems generating thumbnails of images with an Alpha channel (transparency). The code I use is this: public void saveThumbnail(File file, String imageType) { if (bufferedThumb == null) { return; } if(bufferedImage.getColorModel().hasAlpha()) { logger.debug("Original image has Alpha channel"...

Thumbnails in the django admin panel using sorl.

Hey, I am trying to have the pictures I upload in the Django admin panel to show up as thumbnails instead of the path. I have sorl installed and can make thumbnails that show up in my views. I have found 2 snippets (http://www.djangosnippets.org/snippets/579/ and http://www.djangosnippets.org/snippets/934/) that I have tried to impleme...

What pure server side technologies allow html website capture on shared hosting

As far as I know, only PHP can't be used for this. But since not many providers allow installation of Perl/Python/... scripts on shared, I'm wondering whether there is free solution for either creation of thumbnails or full-size capturing on the fly / on demand and save it to server (since snapshot lets you only to show thumbnails on h...

how to create thumbnail system for MP4 files

Hi everyone! I know I know, why am I using MP4 still?? It's because I have like 100 files already in this format and I need to upload to a website, I have the mp4 file embeded in the site already and the file played changes according to php. but what I really need is a way to dynamically create a thumbnail or take a snapshot of the vid...

Generating two thumbnails from the same image in Django

Hello, this seems like quite an easy problem but I can't figure out what is going on here. Basically, what I'd like to do is create two different thumbnails from one image on a Django model. What ends up happening is that it seems to be looping and recreating the same image (while appending an underscore to it each time) until it throws ...

Android Thumbnail Loading Problem

I'm using a thumbnail loader in my project the one mentioned below. The problem is that the it loads all the thumbnails properly except the ones who's size is of about 40K. When our back end is giving that sort of thumbnails are not generated and sometimes this eventually leads to a Crash too. What m I supposed to do with this ? public...

Android Image Getter for Larger Images

I have used all the Standard Network related code for Getting Images of about 45KB to 75KB but all are failing these methods work fine for Files of about 3-5KB size of Images. How can I achieve Downloading Image of 45 - 75KB for displaying them on an ImageView in Android for my Network Operations the Things I have used are final URL ur...

.NET Window Capture

Good day, I would like to know if the .NET framework gives you a way to retrive the littles thumbnails Windows XP+ generates when you alt+tab. The application I try to make should be able to get a window capture (ALT+PrtScr) of another Window that is not necessary Active and could be partially or completly hidden behind another one. I...

PHP: Creating cropped thumbnails of images, problems.

Hi there, I am fairly new to PHP, and I am writing a script that will resize images. First an uploaded image is resized to 800width by *height, depending on the orientation of the file uploaded (portrait/landscape). The script is then meant to create a thumbnail of that image. The thumbnail must be 175width by 117height. This is has...

Extracting thumbnail from .flv

Hi, i was wondering, how can i extract thumbnail from a flash-video file, then display it in a listbox. the listbox is suppose to have many videos which i need to extract thumbnails from programatically with actionscript. the flash-player is going to be on the web, and the extraction must happen when the swf file is loading, therefore...

ASP.NET MVC: Problem generating thumbnails...need help!

Ok, so i'm new to asp.net mvc and i'm trying to make a web application photo gallery. I've posted once on here about this issue i am having of trying to generate thumbnails on-the-fly on the page instead of the actual full-size images. Basically, the functionality i am looking for is to be able to have thumbnails on the page and then b...