Skip to content

Could Slint possibly support more image formats, such as GIF ,BMP and others? #7218

Answered by ogoffart
ngxtp asked this question in General
Discussion options

You must be logged in to vote

In fact, Slint can support all format that are supported by the image crate.
It is just that the features are disabled by default.

But you can add that in your Cargo.toml:

image = { version = "0.24", features = ["default"] }

The version must be the same as the one used by Slint

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ngxtp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants