API V2

Rotate Image

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

Paameters

File Namestring, Required

Source Image file name.

File Contentbase64, Required

Source Image file content.

Background Colorstring, Required

You can take any color name but it must be string.
Example-
#FFFF00

Proportionate Resizeboolean, Required

You can select any one value -
true
false

Rotation Angleinteger

You can take any value but it must be integer.
Example - 40

Output

File Contentbinary, Required

File content of the compressed document

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

Payload

{
  "docContent": "Please put image base64 content",
  "docName": "stamp.bmp",
  "Backgroundcolor" : "#FFFF00",
  "ProportionateResize" : true,
  "RotationAngle" : 40
}

PDF4me api samples

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