Link Search Menu Expand Document

PDF to JPG - How to extract image from PDF

The /pdf/convert/to/jpg endpoint can render the image part of the PDF page. You can use the rect parameter to specify the image area.

  1. To try this, kindly open the Request Tester and choose the pdf/convert/to/jpg endpoint.
  2. Next, click on Choose File button to load your file.
  3. Then, copy and paste the code below into the code editor.
    {
     "rect": "14.5,6,305.5,127.5"
    }
    
  4. Finally, click the Run Request button and it will return a link to view the output.
  5. This is what the output looks like.