Skip to main content

Microsoft Silverlight

Answered Question How to invert superimposing colors?RSS Feed

(0)

Grey Matter
Grey Matter

Member

Member

39 points

108 Posts

How to invert superimposing colors?

There are text lines over a picture. I need to make these texts be well visible for any picture with any palette. Usually I saw a technique like inverting a text's color depending on a picture's color laying under the text or IOW inverting text's pixels depending on picture's pixels superimposed on them. How it may be done in Silverlight?

sl.ayer
sl.ayer

Participant

Participant

852 points

164 Posts

Answered Question

Re: How to invert superimposing colors?

You can do it with pixel shader, but I would simply give text contrast background or outline to make sure it is readable.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities