Menu

How to add image as watermark

Help
OnSite
2014-10-25
2014-10-27
  • OnSite

    OnSite - 2014-10-25

    Hi,

    I have gone through watermark.java its a very good example, can anyone please suggest me how to add image as watermark or any example will be better.

     
  • Elfi Heck

    Elfi Heck - 2014-10-27

    See the DrawInlineImagePlain.java (if you want inline) or DrawTransparentImage.java (if you want resource; you can leave out the transparency part if you don't need it) example.

    If you want to use a non-rgb image, the spec will tell you what values you need for the PDImage dictionary.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.