What's the best way to use QT4's QItemDelegate to show thumbnails for images in a view?
Specifically, how do you stop the item delegate from blocking when generating pixmaps from very large image files (> 500MB)?
Can anyone link to some example code that achieves this? Then again, perhaps this isn't the place to look for Qt-specific c...
Story: The user uploads an image that will be added to a photo gallery. As part of the upload process, we need to A) store the image on the web server's hard drive and B) store a thumbnail of the image on the web server's hard drive.
"Best" here is defined as
Relatively easy to implement, understand, and maintain
Results in a thumb...
Is there some reasonably cross platform way to create a thumbnail image given a URL? I know there are thumbnail web services that will do this, but I want a piece of software or library that will do this locally. I guess in Linux I could always spawn a browser window using a headless X server, but what about Windows or OS X?
...
I need to generate thumbnails from a set of jpg's that need to have a small white border so that they appear to be "photos" when displayed on a map. Getting the thumbnails themselves is easy but I can't figure out how to get the border.
...
For an image hosting web application:
For my stored images, is it feasible to create thumbnails on the fly using PHP (or whatever), or should I save 1 or more different sized thumbnails to disk and just load those? Please explain your reasoning.
Any help is appreciated, thanks.
...
I have written a thumbnail provider following the interfaces specified on MSDN. However, I have been unable to figure out how to register it in a way that Vista actually calls into it. Has anyone gotten a thumbnail provider working for Vista? Sample code or links would be especially helpful.
...
I'm looking for a simple way to grab thumbnails of FLVs in ASP.NET, without having to change any permissions/settings on the server. Ideally, nothing is installed on the server machine, but if necessary, small tools such as FFmpeg are fine.
I've tried FFmpeg using the command-line tool with Process.Start, but the same command that works...
I need generate thumbnails for a bunch of jpegs (200,000+) but I want to make sure all of my thumbs have a equal height and width. However, I don't want to change the proportions of the image so I need to add empty space to the shorter dimension to "square it up". The empty space's background color is variable.
Here's the code snippe...
What is the best choice for a Python GUI application to display large number of thumbnails, e.g. 10000 or more? For performance reasons such thumbnail control must support virtual items, i.e. request application for those thumbnails only which are currently visible to user.
...
I used gdi+'s Image class to decode image files.
But I found if I open a Image, then use GetThumbnail()Method, It is really slow, especially for high resolution images.
Is there any method for get a thumbnail faster?
Or is there any lib designed especially for fastly retriving thumbnails for most image formats.
Many thanks!
Thanks for...
My iPhone application needs to save an image in the Camera Roll. I need to generate the .THM file because otherwise the photo is not recognized by the iPhone. Are there any Objective-C API to do it?
Thank you.
...
I am wondering if including image thumbnail information in the model makes sense. Like specifying what sizes of thumbnails you would like to be created. Thumbnail directory. Etc.
Also when working with thumbnails and a database, Is it advisable to store all created thumbnails as new records in the database. Say you have Image record wou...
I want to draw a shadow around a thumbnail in my software.
It seems CreateHatchBrush can help but I do not know how to use it, can anyone provide me a sample in C++?
Many thanks!
...
Hello guys,
I was wondering if there is there is a way to create thumbnails for different types of documents, for instance PDF documents, Word Documents, Spreadsheets, etc, not only for the images, from within PHP?
If this would be to hard to accomplish, I would also be interested in a way to achieve something similar only for PDF docu...
Hi,
I want to extract the Icon/Thumbnail (different size) of a file from
windows shell on my project. I am able to extract the thumbnail with
out any issue, but the problem came when working with files that don't
have thumbnail view. The issue is I am not able to get the bitmap as
the windows explorer shows. I am getting a black color wh...
sample: I have a list of PDF documents and which to list them as thumbnails, can I create a thumbnail of those PDf files the same way I could create the thumbnail of a jpg?
thank you!
...
I know I am probably missing something, but I can't seem to get windows to show the live thumbnail preview correctly when using a window that has a region. When hitting the minimize button the preview will clip to the minimized size (160x25) rather than showing the full preview (like it does with other windows).
Few points to make:
...
Hi.
I'm trying to genererate thumbnails from image files stored in a folder under the website root, I am currently using the built in capebilites in .NET to dynamically generate the thumbnails but the quality gets quite bad and since its an webshop thats a real problem my question is if there is any good (open source?) frameworks that ca...
I was looking at a way to dynamically create thumbnails using PHP and GD but everytime i select a large image maybe 10MegaPixels about 4-5MB it gives the error
**images/Surabhi_Cow.jpgimages/tn/Surabhi_Cow.jpg
Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 10368 bytes) in C:\Program Files\xampp\htdocs\My...
My source images are 2288px x 1712px and 816kb. When I create a thumbnail of 1024 x 768 the file sizes are more than double the high res source (1.13mb - 1.8mb depending on method used).
The source images and thumbnails created are .jpg
Even creating a 299 x 224 thumbnail is 180kb where as if I manually create a thumbnail in GIMP it is...