fullPage
fullPage is an optional property that allows to take full page screenshot by scrolling pixel by pixel until the end. The default value is false.
api/routes/screenshot.ts
const { UrlToImage } from '@url2image/sdk'
const { data, success, message } = await UrlToImage({
url: 'URL_TO_SCREENSHOT',
token: 'YOUR_API_KEY',
options: {
fullPage: true
}
})This options ignores the height option.