# Transparent images

**URL:** <https://tech-community.robotics.abb.com/t/transparent-images/3556>\
**Category:** ScreenMaker\
**Created:** [May 3, 2010, 2:01pm UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556 "2010-05-03T14:01:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_ot](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@Rob\_ot](https://tech-community.robotics.abb.com/u/Rob_ot)\
**Post date:** [May 3, 2010, 2:01pm UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556/1 "2010-05-03T14:01:44Z")

</div>

Transparent images are supported on a virtual flexpendant, but on a real flexpendant the transpareny changes to the color white.  
Is there a solution??

Rob(ot)

---

<div class="post-metadata">

**Author:** ![Abhishek\_PM](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Abhishek\_PM](https://tech-community.robotics.abb.com/u/Abhishek_PM)\
**Post date:** [May 4, 2010, 6:53am UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556/2 "2010-05-04T06:53:36Z")

</div>

Hello,

Just to understand it better,

Do you have an image which is transparent in nature added to pictureBox control  
or  
An image added to picturebox control whose backcolor has been changed to transparent.

Can you share the screenshots of the application with image on virtual flexpendant and real flexpendant.

---

<div class="post-metadata">

**Author:** ![Rob\_ot](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@Rob\_ot](https://tech-community.robotics.abb.com/u/Rob_ot)\
**Post date:** [May 4, 2010, 8:32am UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556/3 "2010-05-04T08:32:04Z")

</div>

![](http://forums.robotstudio.com/webwiz/2986/tansparency.JPG)

---

<div class="post-metadata">

**Author:** ![Abhishek\_PM](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Abhishek\_PM](https://tech-community.robotics.abb.com/u/Abhishek_PM)\
**Post date:** [May 6, 2010, 11:53am UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556/4 "2010-05-06T11:53:46Z")

</div>

Hello,

Transparancy is not handled completely on the desktop as well.

The normal way to handle transparancy on the device is to use an image with a background that has the color Magenta.

The image is then drawn using image attributes. These image attributes will then make the background transparent.

However, in the case with the PictureBox not sure if a solution exists, since its implementation uses a standard PictureBox control to draw the image.

Thanks,

---

<div class="post-metadata">

**Author:** ![Johannes\_Weiman\_old\_account](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/johannes_weiman_old_account/32/3345_2.png) [@Johannes\_Weiman\_old\_account](https://tech-community.robotics.abb.com/u/Johannes_Weiman_old_account)\
**Post date:** [May 6, 2010, 10:34pm UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556/5 "2010-05-06T22:34:25Z")

</div>

[http://msdn.microsoft.com/en-us/library/ms172503(v=VS.80).aspx](http://msdn.microsoft.com/en-us/library/ms172503%28v=VS.80%29.aspx)

The compact framework only supports color-key transparency, not alpha blending. What format is your image?

---

<div class="post-metadata">

**Author:** ![Rob\_ot](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@Rob\_ot](https://tech-community.robotics.abb.com/u/Rob_ot)\
**Post date:** [May 14, 2010, 12:43pm UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556/6 "2010-05-14T12:43:55Z")

</div>

The image format is \*.png

Regards

Rob(ot)

---

<div class="post-metadata">

**Author:** ![Johannes\_Weiman\_old\_account](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/johannes_weiman_old_account/32/3345_2.png) [@Johannes\_Weiman\_old\_account](https://tech-community.robotics.abb.com/u/Johannes_Weiman_old_account)\
**Post date:** [May 17, 2010, 9:17am UTC](https://tech-community.robotics.abb.com/t/transparent-images/3556/7 "2010-05-17T09:17:51Z")

</div>

Try converting the image to a transparent gif, I think it might work better.

regards,  
Johannes
