https //www.convert-pdf to jpg.net code example
Example: convertir pdf en jpg
If you have Adobe Acrobat : https://helpx.adobe.com/acrobat/using/pdf-to-jpg.html
If you don't use it : https://pdf2jpg.net/
It is directly on browser (and they plant trees)