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

how to disable auto zooming #5

Open
pete111 opened this issue May 7, 2016 · 1 comment
Open

how to disable auto zooming #5

pete111 opened this issue May 7, 2016 · 1 comment

Comments

@pete111
Copy link

pete111 commented May 7, 2016

command: /home/pi/pngview/pngview/pngview /home/pi/image.png
I found out pngview zoom my image (no idea why, because image has the same dimensions as screen, both 720x576). I am using the same image as wallpaper. But when I open image.png in pngview, it is bigger.

How can I disable this auto zoom?

@AndrewFromMelbourne
Copy link
Owner

There is no where in the code that zooms the image.

One possible confusion is that this code does not use the framebuffer, it uses the DispmanX interface on the Raspberry Pi.

The framebuffer may be distorted (zoomed).

So if you are seeing a difference in displayed size between an image displayed on the framebuffer and an image using the pngview code, I would suspect that the framebuffer is distorted.

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

2 participants