On screen watermark

William Donald Cossaboom 0 Reputation points
2025-11-15T19:09:31.8733333+00:00

I have the on screen watermark in white but is barely visable on my background picture. How would i get a background rectangle in black to go around the watermark.


Moved from: Community Center | Discuss the Q&A site | Get started on Q&A

Windows for home | Windows 11 | Desktop, Start, and personalization | Desktop
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-15T19:09:40.05+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To create a more visible watermark on your background image, you can add a black rectangle behind the watermark text. This can be done by modifying the way you render the watermark. Here’s a general approach:

    1. Draw the Background Rectangle: Before drawing the watermark text, draw a filled rectangle in black. Make sure to set the dimensions of the rectangle to be slightly larger than the watermark text to ensure it provides a clear background.
    2. Draw the Watermark Text: After drawing the rectangle, draw the watermark text on top of it in white. This will enhance the visibility of the watermark against the background image.

    This method can be implemented in various programming environments depending on the technology you are using for rendering the images. If you are using ASP.NET, you can utilize the WebImage helper to add a background rectangle before adding the text watermark.

    If you need more specific code examples or implementation details, please provide the technology or framework you are using.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.