- This topic has 8 replies, 2 voices, and was last updated 7 years, 6 months ago by KevinB.
-
AuthorPosts
-
March 10, 2017 at 1:14 am #37378KevinBParticipant
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!
March 21, 2017 at 10:37 am #56331SupportKeymasterHello!
'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.
March 21, 2017 at 3:35 pm #56334KevinBParticipant'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.
March 22, 2017 at 12:56 pm #56341SupportKeymasterCan you show an example with this issue, please?
I will see why it happens better.
April 24, 2017 at 4:02 pm #56540KevinBParticipantSorry 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!
April 28, 2017 at 8:23 am #56544SupportKeymasterHello
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?
April 28, 2017 at 6:42 pm #56558KevinBParticipantThis 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!
May 10, 2017 at 7:26 am #56572SupportKeymasterThe issue must be fixed in the v12.07 already.
Check it, please.
May 10, 2017 at 3:58 pm #56586KevinBParticipant'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!
-
AuthorPosts
- You must be logged in to reply to this topic.