Note that there are some explanatory texts on larger screens.

plurals
  1. POSaveJpeg causing "shadows" artifacts with transparency
    primarykey
    data
    text
    <p>Just wanted to check one thing with you. I'm using WriteableBitmap to create an image that I'm as a live tile. Works fine but I have noticed that text is getting a shadow around the edges. Makes the text look a bit dirty or messy.</p> <p>Take a look at the image below. The left part is from a live tile created using the WriteableBitmap and the right part is a Windows Phone standard tile (The Internet Explorer tile). See the difference?</p> <p><a href="http://img268.imageshack.us/img268/8749/unled2imo.png" rel="nofollow noreferrer">http://img268.imageshack.us/img268/8749/unled2imo.png http://img268.imageshack.us/img268/8749/unled2imo.png</a></p> <p>Is there anything I can do about this? Have you noticed this before?</p> <p>EDIT: Hmm, I think I'm looking at the wrong function. I think it could be the wbmp.SaveJpeg that is causing this? I'm putting text and a background image to the grid and then saving it with wbmp.SaveJpeg. Is this the reason? Any workarounds?</p> <pre><code>string sIsoStorePath = @"\Shared\ShellContent\tile.png"; using (IsolatedStorageFile appStorage = IsolatedStorageFile.GetUserStoreForApplication()) { //ensure directory exists String sDirectory = System.IO.Path.GetDirectoryName(sIsoStorePath); if (!appStorage.DirectoryExists(sDirectory)) { appStorage.CreateDirectory(sDirectory); } using (IsolatedStorageFileStream stream = new IsolatedStorageFileStream(sIsoStorePath, System.IO.FileMode.Create, appStorage)) { wbmp.SaveJpeg(stream, 173, 173, 0, 100); } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload