RobotStudio event

Transparent images

Options
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)

Comments

  • Abhishek PM
    Options
    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.

     

     
  • Rob(ot)
    Options
    image
  • Abhishek PM
    Options
    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,

  • 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?
    Johannes Weiman
    Software Engineer
    ABB Robotics
  • Rob(ot)
    Options
    The image format is *.png

    Regards

    Rob(ot)
  • Try converting the image to a transparent gif, I think it might work better.

    regards,
    Johannes

    Johannes Weiman
    Software Engineer
    ABB Robotics