Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Workaround for GetThumbnailImage Problem?

Reply
Thread Tools

Workaround for GetThumbnailImage Problem?

 
 
Comcast
Guest
Posts: n/a
 
      07-16-2003
I understand that one of the limitations of the Image.GetThumbnailImage()
function is that it's not really good for creating "large" thumbnails
because if it exists in the image file, the function will take the embedded
thumbnail and actually blow it up to the requested height/width.

Does anyone know if Microsoft will be fixing this "feature" or whether
there's a work around to force the function to use the full image to scale?

Thanks in advance for any comments.


 
Reply With Quote
 
 
 
 
Comcast
Guest
Posts: n/a
 
      07-16-2003
Actually, I just figured out a kludgy workaround .....

Use the Image.Save function to save the loaded jpg image to a temporary
filename, then use LoadFromFile to "reload" that temporary file which won't
be saved with a thumbnail image and then pass that image variable into the
GetThumbnailImage function which will cause the full size image to be
utilized for generating the thumbnail.

Pretty Kludgy, but this seems to work ....


"Comcast" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> I understand that one of the limitations of the Image.GetThumbnailImage()
> function is that it's not really good for creating "large" thumbnails
> because if it exists in the image file, the function will take the

embedded
> thumbnail and actually blow it up to the requested height/width.
>
> Does anyone know if Microsoft will be fixing this "feature" or whether
> there's a work around to force the function to use the full image to

scale?
>
> Thanks in advance for any comments.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GetThumbnailImage Question rhungund@gmail.com ASP .Net 2 12-20-2005 09:46 PM
GetThumbnailImage help =?Utf-8?B?Q2hyaXM=?= ASP .Net 2 12-30-2004 04:05 AM
Generating Thumbnails (GetThumbnailImage) ... Fabricio Sperandio ASP .Net 8 10-19-2004 03:05 PM
GetThumbnailImage Andrew Banks ASP .Net 5 04-17-2004 11:17 AM
GetThumbnailImage Question John ASP .Net 3 04-01-2004 07:06 PM



Advertisments