Skip to content

img Component is not rendering image (Base64/PNG). #2343

@zaid-nizam

Description

@zaid-nizam

Hey guys so i am making a Whatsapp Client via GPUI and this awesome lib so i am trying to render base64:png whatsapp qr but i get is a blank UI

Image

So do i need to add any features in cargo toml to able to render image ?

My Cargo Toml

gpui = { git = "https://github.com/zed-industries/zed" }
gpui_platform = { git = "https://github.com/zed-industries/zed", features = ["font-kit", "wayland", "x11"] }
gpui-component = { git = "https://github.com/longbridge/gpui-component" }
gpui-component-assets = { git = "https://github.com/longbridge/gpui-component" }

Also i tried removing my parent background color still same no idea and i am new to Rust like 2 weeks now

thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions