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, 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
VeryPDF PDF Stamper Cloud API is not support add PDF, Text, Image and Line stamps to PDF pages from URL directly, it is not require "pdftools" and "pdftools.ini" Cloud App, because "pdftools.ini" is more difficulty to be used.
Here is a question from our customer,
"Is it possible to insert an image into a pdf in a particular spot without using the pdftoolsini? It is difficult to use, and I just want to pass in the name of the image and some x/y coordinates."
This is a good question, we are support this function now!
The new PDF Stamper Cloud App has following features,
1. Allow you to stamp PDF/Text/Image/Line on single page or a page range in PDF file,
2. You can control the X, Y, Width, Height positions for the PDF/Text/Image/Line stamps,
3. You can control the Opacity value for the PDF/Text/Image/Line stamps,
4. You can control all options from URL, it is not require "pdftools.ini" file at all,
5. You can control angle for PDF/Text/Image/Line stamps,
6. and more features,
The followings are example URLs to stamp PDF files directly,
Stamp an Online Image to PDF Pages (Test URL),
http://online.verypdf.com/api/?apikey=XXXX
&app=pdftools
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=verypdf.pdf
&-stamp_type=2
&-stamp_text=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/verypdf.jpg
&-stamp_x=100
&-stamp_y=100
&-stamp_width=200
&-stamp_height=300
&-stamp_opacity=80
&-stamp_angle=45
Stamp Text to PDF Pages (Test URL),
http://online.verypdf.com/api/?apikey=XXXX
&app=pdftools
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=verypdf.pdf
&-stamp_type=1
&-stamp_text=VeryPDF%20Watermark
&-stamp_color=FF0000&-stamp_x=1&-stamp_y=1
&-stamp_xpostype=1
&-stamp_ypostype=1
&-stamp_text_bold
&-stamp_opacity=80
&-stamp_angle=-30
Stamp an Online PDF file to PDF Pages (Test URL),
http://online.verypdf.com/api/?apikey=XXXX
&app=pdftools
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=verypdf.pdf
&-stamp_type=3
&-stamp_text=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/watermarks/Confidential.pdf
&-stamp_importpdfpageindex=1
&-stamp_x=100
&-stamp_y=100
&-stamp_width=445
&-stamp_height=621
&-stamp_opacity=80
&-stamp_angle=45
Stamp Line to PDF Pages (Test URL),
http://online.verypdf.com/api/?apikey=XXXX
&app=pdftools
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=verypdf.pdf
&-stamp_type=4
&-stamp_text=line
&-stamp_color=FF0000
&-stamp_x=100
&-stamp_y=100
&-stamp_x2=300
&-stamp_y2=300
&-stamp_width=20
&-stamp_opacity=80
&-stamp_pagerange=1-20
Describe VeryPDF PDF Stamper Cloud API options:
-stamp_type: 1 is Text, 2 is image, 3 is PDF, 4 is line.
-stamp_xpostype: 0 is from left, 1 is from center, 2 is from right.
-stamp_ypostype: 0 is from top, 1 is from center, 2 is from bottom.
-stamp_x: X offset from current position.
-stamp_y: Y offset from current position.
-stamp_x: if you set stamp_x=-1, the current X position is equal to PageWidth/2.
-stamp_y: if you set stamp_y=-1, the current Y position is equal to PageHeight/2.
-stamp_x and -stamp_y are offset values from current position.
-stamp_text: Set watermark text or URL for image and PDF file.
-stamp_text_bold: Set Bold attribute to text stamp.
-stamp_text_italic: Set Italic attribute to text stamp.
-stamp_text_fontname: Set font name for text stamp.
-stamp_width: Set width for the stamp, or width to line stamp.
-stamp_height: Set height for the stamp, if you set stamp_height=0, the current font size will be calculated automatically, auto fit to page width.
-stamp_opacity: Watermark opacity option, the range is 0~100.
-stamp_angle: Rotate the watermark, the range is -360~360.
-stamp_color: Watermark color, e.g., 000000, FFFF00, 00FF00, etc.
-stamp_scale: Scale stamp's size, the default is 100.
-stamp_x2: Set End X position for Line stamp.
-stamp_y2: Set End Y position for Line stamp.
-stamp_pagerange: Set page range for the stamp, e.g., 1-5, 6-7, etc.
-stamp_importpdfpageindex: Import special page from PDF file as a stamp, start from page 1.
Stamp Online Image to PDF Pages,
http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf&outfile=verypdf.pdf&-stamp_type=2&-stamp_text=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/verypdf.jpg&-stamp_x=100&-stamp_y=100&-stamp_width=200&-stamp_height=300&-stamp_opacity=80&-stamp_angle=45
Stamp Text to PDF Pages,
http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf&outfile=verypdf.pdf&-stamp_type=1&-stamp_text=VeryPDF%20Watermark&-stamp_color=FF0000&-stamp_x=1&-stamp_y=1&-stamp_xpostype=1&-stamp_ypostype=1&-stamp_text_bold&-stamp_opacity=80&-stamp_angle=-30
Import a special page from an Online PDF file and stamp it to existing PDF Pages,
http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf&outfile=verypdf.pdf&-stamp_type=3&-stamp_text=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/watermarks/Confidential.pdf&-stamp_importpdfpageindex=1&-stamp_x=10&-stamp_y=10&-stamp_width=445&-stamp_height=621&-stamp_opacity=80&-stamp_angle=30
Stamp Line to PDF Pages,
http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf&outfile=verypdf.pdf&-stamp_type=4&-stamp_text=line&-stamp_color=FF0000&-stamp_x=100&-stamp_y=100&-stamp_x2=300&-stamp_y2=300&-stamp_width=20&-stamp_opacity=80&-stamp_pagerange=1-20
See Also:
Use "pdftoolbox" Cloud App to stamp PDF files,
https://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-pdf-stamper-cloud-api-38024.html
Use "pdftools" and "pdftools.ini" Cloud App to stamp PDF files,
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,