VeryPDF Cloud API Platform :: PDF Stamper Cloud API

VeryPDF PDF Stamper Cloud API is a part of VeryPDF Cloud API Platform. VeryPDF PDF Stamper Cloud API is allow you to stamp PDF file, text, image, line, rectangle, page number, bates number etc. information across one or more pages in a PDF document. You have full control over the position, font color, font size, width, height, opacity, transparent color and more of your watermarks.

VeryPDF Cloud API Platform Home Page:

https://www.verypdf.com/online/cloud-api/index.html

image

A screenshot of PDF file which generated by PDF Stamper Cloud API,

image

Apply a Background Watermark or a Foreground Stamp:

url_background <URL for background PDF filename>
Applies a PDF watermark to the background of a input PDF. PDF Stamper Cloud API uses only the first page from the background PDF and applies it to every page of the input PDF.  This page is scaled and rotated as needed to fit the input page. If the input PDF does not have a transparent background (such as a PDF created from page scans) then the resulting background won't be visible, you may use the stamp operation instead.

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/multipage.pdf
&outfile=out.pdf
&url_background=http://online.verypdf.com/examples/cloud-api/stamp/Faces.pdf

image

url_multibackground <URL for background PDF filename>
Same as the url_background operation, but applies each page of the background PDF to the corresponding page of the input PDF.  If the input PDF has more pages than the stamp PDF, then the final stamp page is repeated across these remaining pages in the input PDF.

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/multipage.pdf
&outfile=out.pdf
&url_multibackground=http://online.verypdf.com/examples/cloud-api/stamp/Faces.pdf

image

url_stamp <stamp PDF filename>
This behaves just like the url_background operation except it overlays the stamp PDF page on top of the input PDF document's pages. This works best if the stamp PDF page has a transparent background.

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=out.pdf
&url_stamp=http://online.verypdf.com/examples/cloud-api/stamp/Faces.pdf

image

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/multipage.pdf
&outfile=out.pdf
&url_stamp=http://online.verypdf.com/examples/cloud-api/stamp/Faces.pdf

url_multistamp <stamp PDF filename>
Same as the url_stamp operation, but applies each page of the background PDF to the corresponding page of the input PDF. If the input PDF has more pages than the stamp PDF, then the final stamp page is repeated across these remaining pages in the input PDF.

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/multipage.pdf
&outfile=out.pdf
&url_multistamp=http://online.verypdf.com/examples/cloud-api/stamp/Faces.pdf

image

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=out.pdf
&url_multistamp=http://online.verypdf.com/examples/cloud-api/stamp/Faces.pdf

We will introduce text, image, line, rectangle, page number, bates number etc. stamp APIs at later in another article.

More articles for VeryPDF Cloud API Platform,

https://www.verypdf.com/wordpress/category/verypdf-cloud-api

If you need any other functions which are not included in VeryPDF Cloud API Platform, please feel free to let us know,

http://support.verypdf.com

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

2 Replies to “VeryPDF Cloud API Platform :: PDF Stamper Cloud API

  1. Hi,

    I need to insert a svg/xml image into a pdf. It looks like I should use the cloud stamper api for this:

    http://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-pdf-stamper-cloud-api-38024.html

    specifically:

    *url_stamp *
    This behaves just like the *url_background* operation except it overlays
    the stamp PDF page on top of the input PDF document’s pages. This works
    best if the stamp PDF page has a transparent background.

    However, I need to put it in a particular position, and I don’t see any
    documentation about how to do that. It looks like the advanced version will
    let me specify a location:

    http://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-advanced-pdf-tools-cloud-api-stamp-pdf-rotate-pdf-set-pdf-metadata-set-pdf-version-number-set-pdf-info-set-pdf-viewer-preferences-resize-pdf-pages-set-custom-fi-38044.html

    but when I read over the document, it looked like this section was relevant to me:

    [Watermark]
    Enable=1

    ; type: 1 is Text, 2 is image, 3 is PDF, 4 is line
    ; if you set x=-1, the current X position is equal to PageWidth/2
    ; if you set y=-1, the current Y position is equal to PageHeight/2
    ; if you set height=0, the current font size will be calculated
    automatically, fit to page width
    ; xPosType: 0 is from left, 1 is from center, 2 is from right
    ; yPosType: 0 is from top, 1 is from center, 2 is from bottom
    ; x, y are offset values from current position

    [Watermark1]
    type=1
    text=Demo watermark 1
    fontname=Times New Roman
    xPosType=1
    yPosType=1
    x=0
    y=0
    height=0
    width=0
    fontbold=0
    fontitalic=0
    fontunderline=1
    fontstrikeout=0
    opacity=90
    angle=45
    color=FF0000
    pagerange=1-5
    scale=150

    [Watermark2]
    type=2
    text=http://online.verypdf.com/examples/cloud-api/watermark.png
    xPosType=1
    yPosType=2
    x=0
    y=-100
    width=281
    height=81
    opacity=50
    angle=0
    pagerange=
    scale=100

    But when I looked through the PDF document that was created, there is no
    Text watermark – I wanted to make sure there was a text watermark before I
    enabled the image watermark.

    Its a bit difficult to learn how to use it with this 32 page example – all
    I need is an example for inserting an image, do you have a simpler one?

    Thank you,
    Customer
    ——————————————————————————
    Online Cloud API is not support svg/xml image as stamper, it is support PDF as stamper only, you need convert from svg/xml image to PDF file first, then you can stamp this PDF file to another exist PDF file, please run following URL to try,

    http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftoolbox&infile=http://online.verypdf.com/examples/cloud-api/multipage.pdf&outfile=out.pdf&url_background=http://online.verypdf.com/examples/cloud-api/stamp/Faces.pdf

    VeryPDF
    ——————————————————————————
    Hi,

    It says right in the documentation you can stamp an image:

    “VeryPDF PDF Stamper Cloud API is allow you to stamp PDF file, text, image, line, rectangle, page number, bates number etc. information across one or more pages in a PDF document. You have full control over the position, font color, font size, width, height, opacity, transparent color and more of your watermarks.”

    I need to be able to stamp an image and specify where on the page. Can you please show me an example of that?

    Thank you,
    Customer
    ——————————————————————————
    You can use “pdftools” APP to stamp PDF file, text, image, line, rectangle, page number, bates number etc. information across one or more pages in a PDF document, please run following URL to try,

    http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/multipage.pdf&outfile=out.pdf&-pdftoolsini=http://online.verypdf.com/examples/cloud-api/pdftools.ini

    http://online.verypdf.com/examples/cloud-api/pdftools.ini is a sample ini file, you can download this ini file and modify it by yourself.

    VeryPDF

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply to VeryPDF Cancel reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!