Use in Windows phone 8/8.1

Jul 1, 2014 at 5:29 AM
Hi Currently within a Windows phone 8 app I generate a live tile as a JPG. Work fine and is okay in the limited memory allowed within the background agent.
But I now need to generate as PNG (transparent tiles for 8.1) and I have tried the ToolstackPNGwriter which works nicely well but simply uses to much memory for the BackgroundAgent.

Looking to see if I can use the WriteableBitmapEx and I see on the homepage here that there is a away to include the minimum possible by just including the relevant extension methods.
(I don't need the drawing functionality - simply want to saev to a PNG rather than a JPG

Looking for advice as to what/how to include the minimum possible, for this.

And hoping that it will be fine memory wise in the Background Agent!
  • thanks
Coordinator
Jul 1, 2014 at 7:58 AM
There was some code provided in the discussion forums for saving a PNG: https://writeablebitmapex.codeplex.com/discussions/274445

But haven't tested it in an agent.