How to tint a APNG Image?
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.3k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Description
I would like to tint a Image like
let imageView = UIImageView()
imageView.image = UIImage(named: "custom-icon")?.withRenderingMode(.alwaysTemplate)
imageView.tintColor = .red
How can I do that with APNG?
let imageView = APNGImageView()
imageView.image = APNGImage(named: "custom-apng-icon", progressive: true)
imageView.tintColor = .red
..but it does not work
Contributor guide
No contributing guide indexed for this repository
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 the APNGImageView and APNGImage usage shown in the issue, and compare their behavior with UIImage's rendering mode and tintColor example. The issue does not name a file or test; clarify whether the expected outcome is supported tinting or documentation of a limitation, then verify the chosen behavior with an APNG example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100