BrianHepler / MMM-Selfieshot

Taking a Selfie with USB cam on MagicMirror.
MIT License
8 stars 6 forks source link

Camera resolution #15

Closed hclausd closed 2 years ago

hclausd commented 2 years ago

Dear Brian,

a big "Thank you!" from my side for this amazing module!

Unfortunately, I cannot use the full resolution of my raspi camera module (v2.1) which would have a native resolution of 3280 × 2464 pixels. If I set the values of "width" and "height" to 3280x2464, the module always takes pictures at 1280x720.

I first thought that the module won't go beyond 1080p resolution of my display (1920x1080) but this resolution is also not possible and remains at 1280x720.

Can you clarify, whether 1280x720 is the maximum allowed resolution or if there is a way to use the full camera resolution (while still being able to have the "result picture" shown)?

Best from Switzerland, Hendrik

BrianHepler commented 2 years ago

There's a PR for specifying the resolution. I'm testing it now. It should be pushed to the main code shortly.

hclausd commented 2 years ago

Hey there, yeah the PR from eouia is definitely legitimate and I already used it as a fix. Would be great, if you could allow it. Best, Hendrik

BrianHepler commented 2 years ago

Done. Sorry for the delay.