?
Solved

Remove BLACK background from thumbnail image created from 'GetThumbnailImage'

Posted on 2004-03-31
5
Medium Priority
?
889 Views
Last Modified: 2012-08-13
I'm loading an image from a byte array in to a memory-stream and then creating a thumbnail from it using the 'GetThumbnailImage' method

Everything works fine except hte background color of this thumbnail image turns out - black ...

I've png,gif,jpg formats to support and the images are heavy so i need their thumbnails ... but not with BLACK- background ...

Any ideas ...
0
Comment
Question by:S_Hemant
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 20

Expert Comment

by:TheAvenger
ID: 10730792
What does a "black background" mean for a JPEG for example? The JPEG has information about every pixel, so there is no "background". What exactly becomes black?
0
 

Author Comment

by:S_Hemant
ID: 10738425
Just one statement i use the 'GetThumbnailImage' method to get thumbnail image. And i get thumbnail with a BLACK background -

may be the transparent pixels are converted into BLACK so how to stop it ???
0
 
LVL 20

Accepted Solution

by:
TheAvenger earned 150 total points
ID: 10738798
JPEG does not have transparent pixels. GIF has, I don't know about PNG. But if you get black pixels with all of them, maybe the problem is another one...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question