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 4 14204
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 GetThumbnailIma ge, 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
> 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
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******** ********@TK2MSF TNGP09.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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 = imageSX($jpeg);
$oldY = imageSY($jpeg);
$thumbH = 100;
$thumbW = ($oldX / $oldY) * 100; //I know the dimensions are correct
|
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 this link:
http://www.vbaccelerator.com/home/NET/Code/Libraries/Shell_Projects/Thumbnail_Extraction/article.asp
Has anyone implemented this? Or can explain how to do this. Basically it
involves calling IExtractImage from shell32. But I'm not sure...
|
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 quality of the
thumbnail. Can someone direct me where to incorporate this code? Thanks.
Code to insert:
graphic.InterpolationMode = InterpolationMode.HighQualityBicubic;
graphic.SmoothingMode = SmoothingMode.HighQuality;
|
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 quality of the
thumbnail. Can someone direct me where to incorporate this code? Thanks.
Code to insert:
graphic.InterpolationMode = InterpolationMode.HighQualityBicubic;
graphic.SmoothingMode = SmoothingMode.HighQuality;
| |
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?
Here is the code behind:
|
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 jpeg, and
different cases, I'm using regular expressions.
The code is currently:
|
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 control.
What do I need to do to see the Images same as I am looking using windows
explorer thumbnail.
Please help me as I am stuck on this for almost two days now.
Thanks for any help you can provide.
|
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. I see it in plenty of other applications. Yet I can't seem to make it work despite being so very close.
I know the problem has to be in how I am making the PropertyItem of the thumbnail - because if I comment out lines 24-34 the JPG saves fine,...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |