Skip to content

Configurable rgb origin #70

@cblc

Description

@cblc

When using functions like plm_frame_to_rgb(), the library assumes that row 0 is the top of the image. In some programming environments, like OpenGL for example, it's common to use row 0 at the bottom of the image, with rows increasing upwards. While you can do the vertical flip manually, it would have the overhead of an extra malloc() just for flipping the image. I think it would make sense that the library has a setting for specifying where's the origin of your image buffer (top-left, or bottom-left).

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