调整图像大小 [英] Resizing Image

查看:96
本文介绍了调整图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在开发一款正在调整图片大小的Windows手机应用程序。我在论坛上搜索但找不到我想要做的事。


我的想法是在调整图像大小时我想保持比例并将高度和宽度设置为612px。例如。当我想保持旧图像的比例时,我必须为新图像设置背景颜色image.But我不知道该怎么做:/


帮帮我


谢谢你的到来。

解决方案


调整图片大小 -


http://stackoverflow.com/questions/21779502/how-to-resize-the-images - 没有令人不安的宽高比


可能你需要合并图像 -


http://code.msdn.microsoft.com/wpapps/merge-multiple-on-a-single-e7cdaa76


Hi,

I'm working on a windows phone app which is resizing images.I searched on forums but could not find what i want to do.

My idea is when resizing images i want to keep the ratio and set height and width to 612px for example.When i want to keep ratio of the old image i have to set a background color for the new image.But i dont know how to do this :/

Help me

Thanks in advence.

解决方案

Hi,

Resizing image -

http://stackoverflow.com/questions/21779502/how-to-resize-the-images-without-disturbing-the-aspect-ratio

Probably you need merging images -

http://code.msdn.microsoft.com/wpapps/merge-multiple-on-a-single-e7cdaa76


这篇关于调整图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆