Add stamp to a PDF file

This endpoint adds a stamp to a given PDF file. Users can specify the stamp type (text or image), rotation, opacity, width spacer, and height spacer. Input:PDF Output:PDF Type:SISO

The input PDF file

File ID for server-side files (can be used instead of fileInput)

The pages to select, Supports ranges (e.g., '1,3,5-9'), or 'all' or functions in the format 'an+b' where 'a' is the multiplier of the page number 'n', and 'b' is a constant (e.g., '2n+1', '3n', '6n-5')

The stamp type (text or image)

The stamp text

The stamp image

The selected alphabet of the stamp text

The font size of the stamp text and image

The rotation of the stamp in degrees

The opacity of the stamp (0.0 - 1.0)

Position for stamp placement based on a 1-9 grid (1: bottom-left, 2: bottom-center, 3: bottom-right, 4: middle-left, 5: middle-center, 6: middle-right, 7: top-left, 8: top-center, 9: top-right)

Override X coordinate for stamp placement. If set, it will override the position-based calculation. Negative value means no override.

Override Y coordinate for stamp placement. If set, it will override the position-based calculation. Negative value means no override.

Specifies the margin size for the stamp.

The color of the stamp text

ILovePDF Tools - Quick Access
Scroll to Top