Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NanoVNA-H 4 screen capture #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

novwhisky
Copy link

@novwhisky novwhisky commented Jul 21, 2020

I found in my NanoVNA-H 4 that screen capture functionality didn't work due to the hardcoded 320x240 resolution. I spent the night looking for an elegant way to evaluate device resolution, but the best option I could make work was interrogating the Board entry in deviceInfo.info, setting it to 480x320 when "NanoVNA-H 4" and falling back to 320x240 for all others.

Before
nanovna-capture-20200720-193107

After
nanovna-capture-20200721-004722

Let me know if there's anything I should change!

@novwhisky novwhisky marked this pull request as ready for review July 21, 2020 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant