Repository navigation
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 |
Answered by
JimBobSquarePants
Feb 27, 2023
Replies: 2 comments 1 reply
|
Your jpeg is 24bit RGB. Using the non-generic variant |
0 replies
Answer selected by
fritz-net
|
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 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your jpeg is 24bit RGB. Using the non-generic variant
Imagewill load that image asRgb24. For alpha support you need to specifyRgba32using the non-genericImage<TPixel>