Skip to content

WladimirLivolis/pdfapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF API

This is a spring boot api for working with PDF files. It is based on IText library.

The following operations are currently supported:

  • Merge multiple PDFs
  • Split a PDF
  • Extract pages from a PDF
  • Remove pages form a PDF
  • Convert multiple image files to PDFs

Merge

URL:

POST /pdfapi/merge

Form-data Params: file.

It merges multiples files tagged with file into a new PDF.

Split

URL:

POST /pdfapi/split

Form-data Params: file and maxPageCount.

It creates a new PDF per maxPageCount pages from file.

Extract

URL

POST /pdfapi/extract

Form-data params: file, startPage and endPage.

It creates a new PDF containing the pages from startPage to endPage from file.

Remove

URL

POST /pdfapi/remove

Form-data params: file and page.

It creates a copy of file and removes each page number tagged with page.

Convert Image To PDF

URL:

POST /pdfapi/convertImageToPDF

Form-data Params: file.

It converts each image file tagged with file into a PDF.

About

A simple pdf api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages