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

Aspect ratio and/or aliasing? #60

Open
Kevin-Prichard opened this issue Jun 25, 2021 · 0 comments
Open

Aspect ratio and/or aliasing? #60

Kevin-Prichard opened this issue Jun 25, 2021 · 0 comments

Comments

@Kevin-Prichard
Copy link

Kevin-Prichard commented Jun 25, 2021

Howdy @hzeller! I hate to use an issue to pose newb questions, but where else are things flaschen-taschen discussed?

Looking thru the code to find whether specifying an aspect ratio is possible, and haven't found that yet.

Similarly, when pixels in source image data are mapped to LEDs, are they aliased?

If either or neither -- would these be (a) desirable feature(s) for the flaschen-taschen community? Would it be worth my time to add these? I mean, it would be for me, because the device I am building will result in uniformly rectangular pixel cells, and essentially have no control over that (and suspect that aspect ratio is a thing others might want)

I see that libswscale is employed, and yes it can scale images to match the wxh of an output device's aspect ratio. However, consider a device where physical layout is equivalent, widthPhys=heightPhys but pixel density is different, e.g. widthPixel=2*heightPixel.

Are such nonsquare pixel layouts accommodated by libswscale -and, if so, do I need to do anything else? Ty

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

No branches or pull requests

1 participant