Images aren't becoming transparent

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37378
    KevinB
    Participant

    Hello!

    A few months ago we updated our AlphaControls package from v10.10 to v11.21. Recently we found that some of our images are no longer being turned transparent like they used to. They used to blend with the background but now since they aren't being turned transparent, the white background of the image is overlapping part of the background of the frame, like in the attached picture. For some context, these images are being stored in a TsAlphaImageList.

    I've tried messing with some of the properties within the SkinManager and even tried using the DrawAlphaImgList method to give the images a Blend value but none of that worked. I dug through the forum to see if anyone else had this problem and found this where this person seems to have the same problem.

    Thanks!

    #56331
    Support
    Keymaster

    Hello!

    'KevinB' wrote:
    I've tried messing with some of the properties within the SkinManager and even tried using the DrawAlphaImgList method to give the images a Blend value but none of that worked. I dug through the forum to see if anyone else had this problem and found this where this person seems to have the same problem.

    Reasons of these issues are different.

    Try to use the sSkinManager1.Options.StdImgTransparency property, this solution must work in your case, I think.

    #56334
    KevinB
    Participant
    'Support' wrote:

    Hello!

    Reasons of these issues are different.

    Try to use the sSkinManager1.Options.StdImgTransparency property, this solution must work in your case, I think.

    I've tried using that but that still won't fix the issue. Are there any other properties that need to be set in the ImageList for that to work? For some more context, we're using the GetBitmap32 method to load the images in the list into an empty image in our form. I've tried setting the transparency of the image to true, I've tried different drawing styles for the image list and different blend colors and different bk colors but none of that has fixed it.

    #56341
    Support
    Keymaster

    Can you show an example with this issue, please?

    I will see why it happens better.

    #56540
    KevinB
    Participant

    Sorry for taking so long to get back to this. Here's an example project of this. Again I'm using version 11.21 of Alpha Controls.

    Thanks for your help!

    #56544
    Support
    Keymaster

    Hello

    Thank you for the demo.

    I have extracted Png images and see that these images are not transparent.

    How they were painted as transparent in old version? Can you show it, please?

    #56558
    KevinB
    Participant

    This capture is from a previous build of our software and the image has the intended transparency. The method used to display the images and the images themselves haven't changed at all but the transparency stopped working when we updated from 10.15 to 11.21.

    Thanks!

    #56572
    Support
    Keymaster

    The issue must be fixed in the v12.07 already.

    Check it, please.

    #56586
    KevinB
    Participant
    'Support' wrote:

    The issue must be fixed in the v12.07 already.

    Check it, please.

    Just tried it out with v12.07 and it is indeed fixed! Thank you for your help!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.