473,387 Members | 3,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

thumbnail extraction (JPEG)

Hello,

i dont know how to extract the thumbnail of an image?
is there a good way to do that cos there arent many articles on the internet
:/
thank you
thomas
Nov 15 '05 #1
4 14187
hehe thx chad but i wasnt talking about that (i am not that much noob) :)

i want to extract the thumbnail from the image.
there is a thumbnail stored in the JPEG i want to extract due to speed
reasons
(much faster than)

with GetThumbnailImage, i have the problem that i have to load the Image
first, thats
a problem because my images have a size of about 2MB each.

regards and thx
thomas
Nov 15 '05 #2
> At any rate, you might be able to use the ImageCodecInfo object
to enumerate through the specific features of the image/jpeg
MIME type and get a binary stream, but I don't know much
about that, so you're on your own.


ok thx anyway.
a digital camera creates a thumbnail of the jpeg and store it in the jpeg
itself.
just have to find out, where and how to get it :))

regards
thomas
Nov 15 '05 #3
Looks like Chad was right, you just aren't looking (reading) hard enough,

http://msdn.microsoft.com/library/de...imagetopic.asp

"If the Image object contains an embedded thumbnail image, then this method
retrieves the embedded thumbnail and scales it to the requested size. If the
Image object does not contain an embedded thumbnail image, this method
creates a thumbnail image by scaling the main image."
"thomas kern" <bo********@gmx.net> wrote in message
news:ug****************@TK2MSFTNGP09.phx.gbl...
At any rate, you might be able to use the ImageCodecInfo object
to enumerate through the specific features of the image/jpeg
MIME type and get a binary stream, but I don't know much
about that, so you're on your own.


ok thx anyway.
a digital camera creates a thumbnail of the jpeg and store it in the jpeg
itself.
just have to find out, where and how to get it :))

regards
thomas

Nov 15 '05 #4
I wanted to do the same at one point, but never got around to it. I've
saved these two bookmarks to help out, should I ever get around to it. If
you get it working, I'd be greatful if you can e-mail me the results!
http://www.codeproject.com/cs/media/photoproperties.asp
http://www.ba.wakwak.com/~tsuruzoh/C...ms/exif-e.html

Mike Mayer
http://www.mag37.com/csharp/
mr*****@charter.net

"thomas" <bo********@gmx.net> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
Looks like Chad was right, you just aren't looking (reading) hard
enough,
yes and no :)

i have known that but for that method i would have to load the image first, thats nonsense imho.

thx anyway, resolution of the embedded thumbnail is a joke ....

Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Phil Powell | last post by:
PHP 4.3.2 with --enable-exif I have the following class: <?php class ThumbGenerator extends MethodGeneratorForActionPerformer { function ThumbGenerator() { // CONSTRUCTOR
0
by: Michael Satterwhite | last post by:
I'm having trouble with the functions for resizing a picture uploaded to my server. Consider the following: $jpeg = imagecreatefromjpeg($filePath); //I know this works! $oldX =...
0
by: Guy Robinson | last post by:
Hello, I revist this every now and then and are still no closer to getting it to work. I want to extract the thumbnail from a file on windows using either win32com or ctypes. As described in...
0
by: David R. | last post by:
I found a script that converts a regular size image to a thumbnail. It's a wonderful script, except the thumbnail quality is a bit low. I'd like to add the following code to improve the output...
0
by: David R. | last post by:
I found a script that converts a regular size image to a thumbnail. It's a wonderful script, except the thumbnail quality is a bit low. I'd like to add the following code to improve the output...
4
by: Greg | last post by:
I've searched everywhere for a solution Microsoft .NET Framework V 2.0.50727 AutoEventWireup="false" image2.aspx resize an image on the fly but Page_Load is triggered twice: Any suggestion?...
7
by: oscartheduck | last post by:
Hi folks, I'm trying to alter a program I posted about a few days ago. It creates thumbnail images from master images. Nice and simple. To make sure I can match all variations in spelling of...
1
by: Mark | last post by:
I am trying to show many Images in a Listview controls with size(100,100). But some of the images sizes are big, like width=238 and height 50. These images does not appear proper in the listview...
15
tlhintoq
by: tlhintoq | last post by:
I'd like to think I can work out most issues, but this one is kicking my butt. What's worse, is that I know I can't be the first guy to want to add a thumbnail to jpg that doesn't already have one. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.