API V2

Convert Image Format

  • Method: POST
  • Endpoint: /api/v2/ConvertImageFormat

Parameter

File NameString, Required

Image file Name.

File contentBase64, Required

The content of the input file

CurrentImageFormatString, Required

Current Image Format are -

  • BMP
  • GIF
  • JPG
  • PNG
  • TIFF
NewImageFormatString, Required

New Image Format are -

  • BMP
  • GIF
  • JPG
  • PNG
  • TIFF

Output

File ContentBinary, Required

File content of the compressed document

File NameString, Required

The file name of the output document

Header
Content-Type:application/json
Authorization: Please copy key from the link.

Payload

{
  "docContent": "Please put text base64 content",
  "docName": "stamp.jpg",
  "currentImageFormat": "JPG",
  "newImageFormat": "PNG"
}

PDF4me api samples

CSharp(C#)
Java
JavaScript
Python
Salesforce
n8n
Google Script
AWS Lambda