We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Banner creation on pdf


One of our clients would like us to create a banner on the first page of the pdf file.
As we already have the necessary code to do this with a tiff file we hoped to merged the tiff file as a foreground image on the PDF.
So is it possible to use one of the tools and to use a white tiff with a black text on it to merge it as a foreground image on the first page of the pdf, so that the only the black text is put over the existing pdf page?
This should not affect the PDF, so the PDF itself may not be converted to an image first.

If the answer on the previous question is negative is there an alternative to create a banner directly in the PDF, for example by using annotations. It is very important that we can let the user determine de size, angle and location of the text.

Hi Christophe Baeyens,

I think following link can fulfill your needs. Add Image Stamp on Particular Pages in a PDF File (Facades)

This could have been a solution but the image we are putting on the PDF has exact the same format as the original pdf. It is not a small image that should be copied somewhere.
As such I suppose that the solution you proposed will completly hide the original content of the pdf.

Hi Christophe,

Can you please share some details regarding the image that you need to used as a banner with Aspose.Pdf. This will help us to figure out the issue and reply back to you soon.

We apologize for your inconvenience.

Thanks & Regards,

Step 1: Pdf unknow format , can be multipage, text, image or a combination of text image

Step 2: determine page format

Step 3: create image (non pdf) which contains the banner. We allready have the necessary programming in production that is able to but a black text on a certain location on a page, with a certain size and a certain angle and we would like to keep this programming to gain time.

Step 4: Merge this fullpage black and white image to the 1 page in the foreground of the pdf. In other words the white color should be considered as transparant. The Black text should come in front of the pdf text/image.