Hi,I love this project and it really help me a lot, but there are some long pages I want to take a screenshot, but it seems that the max height is 16384. What can I do if I want to change the value to a bigger one?
--
You received this message because you are subscribed to the Google Groups "headless-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to headless-dev...@chromium.org.
To post to this group, send email to headle...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/headless-dev/2de06b9a-efce-436d-82da-c4491a7d1812%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/headless-dev/8ca45832-daa4-4f88-8097-60013e588b91%40chromium.org.
const Viewport = {
x: 0,
y: 0,
width: 1280,
height: 20000,
scale: 1
}
const screenshot = await Page.captureScreenshot({format, clip: Viewport, fromSurface: true})
You'll have to capture two separate pictures and stitch them together yourself - one with y=0 and height=16384 and one with y=16384 and height=3626.
There's no way right now to increase the max texture size except by editing and recompiling as mentioned earlier in the thread.
--
You received this message because you are subscribed to the Google Groups "headless-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to headless-dev...@chromium.org.
To post to this group, send email to headle...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/headless-dev/ab4671bd-5689-4d30-91f1-7290d402c1f0%40chromium.org.