Display PDF files as images simply by applying any of Sirv's image processing options. For example, show the PDF as a 400px width image by appending ?w=400 to the URL.
The first page will be displayed, or you can use the page parameter to specify which page should be shown.
The PDF will be converted to a WebP image if the users browser supports WebP, otherwise a PNG will be served. Alternatively, you can specify which image format should be served.