Pdf To Image Conversion
Introduction
Pdf to image conversion function allow you to easily converts pdf pages to image format. Our functions are too fast and
quick to handle any number of pages. Response will be zip
file containing all pages of pdf in image format
- Supported types are
Pdf
,jpeg
jpg
jfif
png
bmp
gif
pnm
tiff
svg
Endpoint
Post
  https://api.oyyi.xyz/v1/pdf-imageParameters
file REQUIRED
- Type:
File
oruuid
- UUID can be id of previous conversion so that you don't have to re-upload file to server, and it will
save network resource and timing.Only
Pdf
files are allowed and Max Size Allowed for file is100MB
by default. If you need more, you ask us to increase it for you. 429 Error will be return otherwise
- Type:
Extra Parameter
Apart from these you can also all available common parameter available for media processing request. See Here
Example
Python
import requestsurl = $BASE_URL/pdf-imagetoken = 'your_bearer_token_here'headers = {'Authorization': f'Bearer {token}'}files = {'file': open('my_pdf_file.pdf', 'rb')}response = requests.post(url, headers=headers, files=files)print(response.text)
::
Response
Default
{ "data": { "id": "4c27a32a-8d3e-4ad4-a19c-91063cb0483f", "converted_file": "your_random_converted_file.jpg", "created_at": "2023-02-22T06:25:35.659015Z", "status": "queued" }}
You can visit here to know to you can fetch file by file id.
Table of Contents