1

What I need to do is convert an image from a jpg to a dds in WP8.

I have found a couple of libraries, but unfortunately neither are built for WP8 (example DevIL.Net

Does anyone have any suggestions how to go about doing this?

Toadums
  • 2,772
  • 8
  • 44
  • 67
  • 1
    http://directxtex.codeplex.com/wikipage?title=DirectXTex – Robert Harvey Jan 22 '13 at 22:04
  • I need to do it in app, on the phone (preferably in c#) – Toadums Jan 22 '13 at 22:07
  • It states specifically that you can use it in Windows Store apps. Not in C#, but I'm guessing you can live with that. – Robert Harvey Jan 22 '13 at 22:09
  • http://stackoverflow.com/questions/11668945/convert-tiff-to-jpg-format/11669224#11669224 look also at [Image Format Class](http://msdn.microsoft.com/en-us/library/system.drawing.imaging.imageformat.aspx) – MethodMan Jan 22 '13 at 22:10
  • 1
    @RobertHarvey Thanks. NOTE: DirectXTex is not supported on Windows Phone 8, because WIC is not available on that platform. The .DDS files it generates are suitable for use on Windows Phone 8 assuming the pixel format is supported by the device (currently Feature Level 9.3). ----Btw, Windows Store app is NOT a windows phone app. – Toadums Jan 22 '13 at 22:13
  • Just chiming in: Robert is correct. Use DirectXTex to convert an Image to DDS. You'll have to do that server-side or at compile-time, but that won't work at run-time. – JustinAngel Jan 24 '13 at 01:07

0 Answers0