title: Writeablebitmap.SaveJpeg is rotating my image -90 degrees
body: <p>I'm using the following code to get a picture from the the MediaLibrary on the phone and resize it.  In the emulator it is working fine but it is rotating it -90 degrees when I try it on a real phone.</p>
  
  <p>The 4th parameter for SaveJpeg is orientation and the tooltip says 
  "This parameter is not currently used by this method. Use a value of 0 as a placeholder."</p>
  
  <p>The same thing happens if I pass 0,1,-1. Seems like it might actually be implemented on the phone and not in the emulator, but I don't know what to pass.</p>
  
  <pre><code>public byte[] GetPhoto(string photoName, int width, int height)
      {
          using (var ml = new Microsoft.Xna.Framework.Media.MediaLibrary())
          {
              using(Stream stream = (from p in ml.Pictures where p.Name == photoName select p).FirstOrDefault().GetImage())
              {
                  //load the stream into a WriteableBitmap so it can be resized
                  using(MemoryStream outstream = new MemoryStream())
                  {
                      PictureDecoder.DecodeJpeg(stream).SaveJpeg(outstream, width, height, 0, 85);
                      return outstream.ToArray();
                  }
              }
          }
      }
  </code></pre>
  
  <p>Also I just noticed that the sample pictures on the phone are not having this problem, just the ones I've taken.  </p>