Choosing the Best Format for Website Screenshots
Capturing full-page screenshots is a balance of image quality, performance, and storage. Below, we explore the three most common formats - PNG, JPEG, and WEBP - and help you understand which is best for your needs.
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=png
&url=https://bbc.com
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=jpeg
&url=https://bbc.com
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=webp
&url=https://bbc.com
Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=png
&url=https://stripe.com
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=jpeg
&url=https://stripe.com
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=webp
&url=https://stripe.com
Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.
PNG is the default format for screenshots, ensuring high fidelity for detailed or graphic-heavy content.
Choosing JPEG is beneficial for websites with extensive photographic content or where performance and loading times are prioritized over perfect image fidelity.
Choosing WEBP is ideal for those looking for maximum efficiency in performance, storage, and bandwidth, especially on websites that prioritize speed and low data usage.
Adjusting the quality settings for PNG, JPEG, and WEBP formats allows you to find a balance between file size and image quality. For JPEGs, a quality setting of around 80% typically provides a good compromise, while WEBP can offer even smaller sizes with comparable quality. Experimenting with these settings can help you achieve the best results for your specific needs.