type

Type: <string>
Default: 'png'
Values:
'jpeg' | 'png'
It specifies the screenshot file type for the screenshot over the target url.
  • CLI
  • JavaScript
  • Shell
  • Python
  • Ruby
microlink 'https://microlink.io&screenshot=true&type=jpeg'
This query parameter just defines the file format to be used at asset generation.
When you consume the asset thought Microlink CDN, it automatically optimizes the assets to serve the best format possible (like WebP) based on your device (it's determining via user-agent header).