C# ASP.NET SQL SERVER

Rotate or flip image through Y-axis

I've been trying to work out how to rotate an image through the Y-axis and display its mirror image on a web page. One of the problems that I faced was trying to find the right word(s) to search on as rotate (so I discovered) is used to refer to rotation through the Z-axis most of the time.

I finally found a solution in Silverlight 3. Here's the code...

<Image Source="Jellyfish.jpg">
    <Image.Projection>
        <PlaneProjection RotationY="180" />
    </Image.Projection>
</Image>

...which does exactly what I'm looking for.

My favorite image editing program (Paint.Net) refers to this as Flip Horizontal which I think is completely misnamed.

<PlaneProjection RotationY="0" /> 

Jellyfish going left

  <PlaneProjection RotationY="180" />

Jellyfish going right

» Similar Posts

  1. jQuery drag and drop tree plugin
  2. Defeating Spam Bot with email names
  3. Silverlight Finally

» Trackbacks & Pingbacks

    No trackbacks yet.
Trackback link for this post:
http://guyellisrocks.com/trackback.ashx?id=212

» Comments

    There are no comments. Kick things off by filling out the form below.

» Leave a Comment