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

Feature Request: dynamic image sizes #16

Open
njh opened this issue Sep 16, 2019 · 0 comments
Open

Feature Request: dynamic image sizes #16

njh opened this issue Sep 16, 2019 · 0 comments

Comments

@njh
Copy link
Member

njh commented Sep 16, 2019

The RadioVIS specification supports specifying the size of the screen / requested image size:

Devices are recommended to include the following HTTP headers in their request when acquiring images from a URL, indicating the display dimensions and resolution density of the device. This is to assist in returning a more appropriate resource for that device.

Header Name Description Mandatory
Display-Height Visible device screen height, in pixels No (default is 240 pixels)
Display-Width Visible device screen width, in pixels No (default is 320 pixels)
Display-PPI Visible device pixel density, in pixels per inch (PPI) No (default is 72 PPI)

It would be useful if the demo app supported this.

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