microsoft / microsoft/AdaptiveCards
[Designer] Tint does not apply to Image
Open
Nobody has claimed this yet.
Area-Designer
Bug
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Problem Description
I found the tint property, but it does not apply on any image. I tried png, svg.
Json payload
{
"icon":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04IDEuMjVDNC44MjQzNiAxLjI1IDIuMjUgMy44MjQzNiAyLjI1IDdWOFYxNkMyLjI1IDE5LjE3NTYgNC44MjQzNiAyMS43NSA4IDIxLjc1SDE2QzE5LjE3NTYgMjEuNzUgMjEuNzUgMTkuMTc1NiAyMS43NSAxNlY4VjdDMjEuNzUgMy44MjQzNiAxOS4xNzU2IDEuMjUgMTYgMS4yNUg4Wk0xNy42MjIgNy4yNUgyMC4yNVY3QzIwLjI1IDQuNjUyNzkgMTguMzQ3MiAyLjc1IDE2IDIuNzVIOEM1LjY1Mjc5IDIuNzUgMy43NSA0LjY1Mjc5IDMuNzUgN1Y3LjI1SDYuMzc4MDNDNi42ODY5MSA2LjM3NjExIDcuNTIwMzQgNS43NSA4LjUgNS43NUgxNS41QzE2LjQ3OTcgNS43NSAxNy4zMTMxIDYuMzc2MTEgMTcuNjIyIDcuMjVaTTE2LjI1IDhDMTYuMjUgNy41ODU3OSAxNS45MTQyIDcuMjUgMTUuNSA3LjI1SDguNUM4LjA4NTc5IDcuMjUgNy43NSA3LjU4NTc5IDcuNzUgOEM3Ljc1IDguNDE0MjEgOC4wODU3OSA4Ljc1IDguNSA4Ljc1SDE1LjVDMTUuOTE0MiA4Ljc1IDE2LjI1IDguNDE0MjEgMTYuMjUgOFpNNi4zNzgwMyA4Ljc1QzYuNjg2OTEgOS42MjM4OSA3LjUyMDM0IDEwLjI1IDguNSAxMC4yNUgxNS41QzE2LjQ3OTcgMTAuMjUgMTcuMzEzMSA5LjYyMzg5IDE3LjYyMiA4Ljc1SDIwLjI1VjE2QzIwLjI1IDE4LjM0NzIgMTguMzQ3MiAyMC4yNSAxNiAyMC4yNUg4QzUuNjUyNzkgMjAuMjUgMy43NSAxOC4zNDcyIDMuNzUgMTZWOC43NUg2LjM3ODAzWiIgZmlsbD0iIzMyMzIzMiIvPgo8L3N2Zz4K"
}
Card JSON
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.6",
"body": [
{
"type": "Image",
"url": "${icon}",
"tint": "Good"
}
]
}
Screenshot
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with schemas/src/elements/Image.json and reproduce the provided Adaptive Card using the supplied PNG/SVG payload. Trace the Image tint behavior in the relevant renderer and verify that the tint visibly applies to both image formats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100