Skip to content

How to display a raster::Image in a SDL2 window? #21

Description

@gamecubate

I am looking for some simpler way to create and manipulate image buffer pixels. Your crate seems perfect for the job.

However, I would like to display said image buffer in a window and am not sure on the simplest way to do that. All your examples point to the saving of images rather than the display of them. I understand this is beyond the scope of what this crate was designed to do but will ask anyway. Do you have any suggestions on how to display a buffer in a (gl?) window with rust, or, better yet, how to connect a raster image buffer to an SDL2 window canvas?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions