Skip to content

Image Parameter of Picture Does Not Work #628

@Wajinn

Description

@Wajinn

The image parameter of ui.picture does not work. Not only is it still a todo (after years), but appears to need a number of related changes in design (picture.v) to make it work and then corresponding examples added to demonstrate usage.

Additionally, looks as if another separate parameter needs to be added for image creation from byte array. So image for gg.Image and maybe call it image_array for create_image_from_byte_array . This is to prevent confusion as to how the image given to pic.image is created, including for Android. The parameters used, should arguably be consistent across all OSes.

V 0.5.1 4df08e9
V UI 0.0.4
Ubuntu 22.04.5 LTS
8 cpus, 64bit, little endian, 12th Gen Intel(R) Core(TM) i5-12450HX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions