Export nach Word, Excel und in Bilder
Wandeln Sie PDFs in bearbeitbare Word- und Excel-Dateien um oder rendern Sie eine Seite als PNG.
Setzen Sie den output des Builds auf docx oder xlsx, um eine bearbeitbare Datei zurückzubekommen, oder auf png, um
ein Bild einer Seite zu erhalten, für Vorschauen und Miniaturansichten.
Kosten: 1 Einheit pro exportierter Datei oder gerendertem Bild.
PDF in Word
curl https://api.nexpdf.dev/v1/build \
-H "Authorization: Bearer $NEXPDF_API_KEY" \
-F doc=@contract.pdf \
-F 'instructions={
"parts": [
{
"file": "doc"
}
],
"output": {
"type": "docx"
}
}' \
-o contract.docxEine Seite als PNG rendern
page zählt ab 0; dpi reicht von 36 bis 300 (Standard 150).
curl https://api.nexpdf.dev/v1/build \
-H "Authorization: Bearer $NEXPDF_API_KEY" \
-F doc=@brochure.pdf \
-F 'instructions={
"parts": [
{
"file": "doc"
}
],
"output": {
"type": "png",
"page": 0,
"dpi": 144
}
}' \
-o cover.png