Skip to content

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub

Image Distortion Correction ​

Intelligently detect the edges of the images and utilize AI technology to correct distortion for deformed images, including de-tilt, deskew, dewarp, etc.

Correct the image edges to create a new image. For the interface, refer to ComPDF AI API

Parameter executeType uses documentAI/dewarp

Parameter parameter is null

Supported input formats ​

  • PNG
  • JPG & JPEG
  • BMP

Supported output formats ​

  • PNG: Result file.