Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating a tiled watermark

 
liliya woland
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have a small image that works as a watermark in a servlet. At this point I'm modifying the width and height of the image to cover a given area. I'd like to tile the image instead of resizing it. Any recommendations?
Thanks in advance. liliya
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the TexturePaint class for this.
 
Franz Allan See
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day,

Have you figured it out? This may be a good addition to Watermarker ( [1] ).

Thanks,
Franz

[1] http://code.google.com/p/watermarker/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic