(02-26-2025, 08:58 PM)SpriggsySpriggs Wrote: Q: I wonder if there's a way to change camera resolution at the API or software level?
A: YES! If you want to change the settings first, use this code:
This one ran.
(02-26-2025, 09:14 PM)SpriggsySpriggs Wrote: Ignore the previous code. This will be better.
This one returns "Failed to set video format" (see attached screenshot).
(02-26-2025, 09:14 PM)SpriggsySpriggs Wrote: EDIT: The reason why is that this will default the resolution of the video rather than requiring you to enter it in the function call. Because who wants to do that?
But is the default resolution the lowest it can get?
It seems the first code that explicitly set 640x480 would be preferable for the purpose of going lower res?
(I should see if it'll work if I set those values to 320x240 or 160x120!)
Whenever you get a chance... No biggie... Thanks
PS I cleaned up your code (see attached for all 4 versions all nice and pretty).