We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Remove BLACK background from thumbnail image created from 'GetThumbnailImage'

S_Hemant
S_Hemant asked
on
Medium Priority
1,030 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 ...
Comment
Watch Question

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?

Author

Commented:
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 ???
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.