LDShapes.BackgroundImage incorect by transparent Shape RRS feed

  • Question

  • Hi LitDev,

    I make a PNG-File with transparent area. The program load it to an image and set with LDShape.BackgroundImage. The transparent area are not transparent it is know black. Can you help me?

    The sample is BNH331.


    Best Regards Martin

    Wednesday, April 3, 2013 9:40 AM


  • The background layer is just a single layer, and this is true for a bitmap as well as for the standard SB GraphicsWindow.BackgroundColor and there is no concept of layering for transparency.  If you want this then you could:

    1] put the image as a drawing on top of the background.

    GraphicsWindow.BackgroundColor = "Red"

    2] edit the background image with Paint.Net for example to combine the transparency into a single 'flat' one-layer image.

    • Proposed as answer by Nonki Takahashi Thursday, April 4, 2013 1:14 AM
    • Marked as answer by martmen Friday, April 5, 2013 2:32 AM
    Wednesday, April 3, 2013 5:51 PM