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

width and height and screen size in api URL #168

Open
Shaerif opened this issue Jun 9, 2021 · 1 comment
Open

width and height and screen size in api URL #168

Shaerif opened this issue Jun 9, 2021 · 1 comment

Comments

@Shaerif
Copy link

Shaerif commented Jun 9, 2021

I didn't find any documentation or examples about sizes,
can it be added ?width=800&height=600&screen=1024&url=$t_url",

to add it like this to specify the size
https://url-to-pdf-api.herokuapp.com/api/render?output=screenshot&width=800&height=600&screen=1024&url=http://google.com

@penghongyou
Copy link

I didn't find any documentation or examples about sizes,
can it be added ?width=800&height=600&screen=1024&url=$t_url",

to add it like this to specify the size
https://url-to-pdf-api.herokuapp.com/api/render?output=screenshot&width=800&height=600&screen=1024&url=http://google.com

just like this,
http://af7p6j.natappfree.cc/api/render?url=https://google.com&pdf.width=1920px&pdf.height=1920px

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