This is a migrated thread and some comments may be shown as answers.

Image background transperancy

3 Answers 1757 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Parul
Top achievements
Rank 1
Parul asked on 06 Apr 2011, 08:08 AM
Hi all,

I have the requirement to show the images in my RadGridView where the alternate row color is Light blue and dark blue.
I have small images (of cancel,danger etc ) which i cut it from the screenshot , so its background is of white color.

So i want images to look such that in the row that its background color(at present white) get matched with the background color (light/dark blue) od the row of the RadGridView or can say it white part can be done transparent in order to match with the row color.


Thanks in Advance !!!!!!!

3 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 06 Apr 2011, 08:12 AM
Hello Parul,

 There is a really easy way to solve this - simply use any image editing software, such as Paint.NET, and convert your images to PNG images with transparent backgrounds. WPF will automatically perform alpha blending when it encounters PNG transparency.

Best wishes,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Parul
Top achievements
Rank 1
answered on 07 Apr 2011, 06:02 AM
Hi Yavour,

First of all thanks alot for such a quick reply.
I have tried the method which was given for image transparency using Paint.Net.

But when i am making the background transparency by making opacity as 0 , whole image got transparent.

I am attaching the image whose white background i have to make transparent.

Kindly tell me the step by step method which I should use to make it transparent as I am new to Paint.Net.
0
Yavor Georgiev
Telerik team
answered on 07 Apr 2011, 07:40 AM
Hello Parul,

 I'm afraid I can't help you there. Please check this thread on the Paint.NET forums.

Greetings,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Parul
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Parul
Top achievements
Rank 1
Share this question
or