У меня есть простой вопрос, но пока я не нашел ответа: как изменить размер jpeg-изображения в проекте С# WinRT/WinMD и сохранить его как новый jpeg?
Я разрабатываю приложение Windows 8 Metro для загрузки ежедневного изображения с определенного сайта и отображения его на Live Tile. Проблема заключается в том, что изображение должно быть меньше 1024x1024 и меньше 200kB, иначе оно не будет отображаться на плитке: http://msdn.microsoft.com/en-us/library/windows/apps/hh465403.aspx
Если я получил увеличенное изображение, как изменить его размер, чтобы он был подходящим для Live Tile? Я думаю о простом изменении размера, например width/2 и height/2, сохраняя пропорции аспект.
Конкретным требованием здесь является то, что код должен выполняться как компонент Windows Runtime, поэтому библиотека WriteableBitmapEx не будет работать здесь - она доступна только для обычных проектов WinRT. Существует даже ветка для WriteableBitmapEx как проект winmd, но она далека от готовности.