Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image fails to render image/vnd.microsoft.icon #1078

Open
oknozor opened this issue Oct 12, 2021 · 0 comments
Open

Image fails to render image/vnd.microsoft.icon #1078

oknozor opened this issue Oct 12, 2021 · 0 comments
Labels

Comments

@oknozor
Copy link
Contributor

oknozor commented Oct 12, 2021

I am trying to render some image/vnd.microsoft.icon images.

Row::new().push(
  Image::new(&icon.path)
    .height(Length::Units(32))
    .width(Length::Units(32)))

These are favicons fetched from various domain name :

When rendering like this I am getting nothing for image/vnd.microsoft.icon.
image

Other icon format renders as expected :
image

iced version :

iced = { git = "https://github.com/hecrj/iced", features = ["wgpu", "default_system_font", "palette", "svg", "image"] }
iced_native = { git = "https://github.com/hecrj/iced" }
iced_style = { git = "https://github.com/hecrj/iced" }
@oknozor oknozor changed the title Image Image fails to render image/vnd.microsoft.icon Oct 12, 2021
@hecrj hecrj added feature New feature or request image rendering widget labels Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants