Skip to content

How would you like RGB return support to be implemented? #218

@AndreRoelofs

Description

@AndreRoelofs

Hi! Thanks for the great project. I'm integrating it into my own project and have already submitted a pull request regarding accessing lower-level APIs for faster capture of smaller regions.

I wanted to ask: are you planning to support RGB outputs as well?
If so, I'd like to help implement it.

Do you have any preference on how the RGBA/RGB selection should be handled?

Thank you for your time!

EDIT: A bit of context, I specifically want to minimize the time for processing of screenshots into JPEG to the absolute minimum. Running
image::DynamicImage::ImageRgba8(image).to_rgb8()

After takes roughly 10ms on my machine.

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