Skip to content

Adding new image size (i.e. mode) #1

@hamid-m

Description

@hamid-m

The Point Grey Chameleon camera (CMLN-13S2M-CS) I am using supports a resolution of 1296 x 964. This size is not defined as one of the available modes. Instead, the largest listed available mode is 1280 x 960, which if selected, causes the example code (examples/save_image.py) to fail. However, lower resolution does work (640 x 480).

Can the code be extended to handle the 1296 x 964 (Y8) option? I noticed a key mapping between mode names and integers are used. I wasn't sure if adding an entry (and thus changing indices) would break other features. If you can give me some guidance I'd be happy to put in a pull request.

And thank you for the great library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions