Skip to content

[Feature]: scale camera still images based on source #465

Open
@crxporter

Description

@crxporter

Your Current NRCHKB Plugin Version

1.4.3

Operating System

Pi buster

What is your idea?

Currently all still camera images are scaled to the size requested by iOS. Suggestion is to use the aspect ratio of the input image.

My stills are 1600x1200 (4:3 ratio) but are squished to 16:9 ratio.

Any more details?

I believe this can be changed on this like of code:

let resolution = request.width + 'x' + request.height

Additional comments?

Still image screenshot (squished):
92A12C60-5A9D-415C-B4FC-73F1E5764ADC

streaming view (proper scale):
1AC26E0D-6CBD-497D-9804-66A4BE92825F

Any code or functions to add?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions