How to convert to image?

@tytom2003
Tue, 23 Dec 2025 14:54:09 +0000

how to upload pdf to convert to image via curl? i need convert pdf to base64 string?

foxit api example:

curl --location 'https://na1.fusion.foxit.com/pdf-services/api/documents/convert/pdf-to-image' \
--header 'Content-Type: application/json' \
--data '{
  "documentId": "doc_abc123",
  "pageRange": "1-5",
  "config": {
    "dpi": 96
  }
}'