Transparent Color not working for DrawText #256
-
Hey, I tried the Watermark example which works quite fine, however if I use a color with transparency I do not see any of that. I also tried
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your jpeg is 24bit RGB. Using the non-generic variant |
Beta Was this translation helpful? Give feedback.
-
I thought that the alpha channel of the image is irrelevant since the color is applied anyway and there is no alpha channel on the image itself/the result is alpha 100% anyway. Thanks for your response, I fixed it using |
Beta Was this translation helpful? Give feedback.
Your jpeg is 24bit RGB. Using the non-generic variant
Image
will load that image asRgb24
. For alpha support you need to specifyRgba32
using the non-genericImage<TPixel>