Skip to content

Insert media from buffer to loadPrompt() #111

@ffreality

Description

@ffreality

Current loadPrompt() excepts medias as paths but technologies like game engines and camera apps have buffers rather than media paths. Writing actual files are performance consuming operation. Is there any way to pass it ?

I can extract raw BGRA color data and convert them RGB buffer. I looked mtmd and it excepts RGB. Also these buffers doesn't have any headers like jpeg or png. As I say before they are pure color array.

I couldn't saw any sample about that.

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