保留宽高比的图像调整大小 [英] Image resizing with aspect ratio preserved
问题描述
嗨
我需要一个在保持宽高比的情况下以高质量调整图像大小的功能.有很多这样的例子,但是很难弄清楚哪一个做得很好,所以会推荐一些建议.
I need a function to resize image in good quality with aspect ratio maintained. There are a lot of examples of this available but its hard to figure which one does a good quality job so would appreciate recommendations.
谢谢
致谢
推荐答案
我需要一个在保持宽高比的情况下以高质量调整图像大小的功能.有很多这样的例子,但是很难弄清楚哪一个做得很好,所以会推荐一些建议.
I need a function to resize image in good quality with aspect ratio maintained. There are a lot of examples of this available but its hard to figure which one does a good quality job so would appreciate recommendations.
您需要考虑使用什么标准来确定什么是高质量的工作".然后选择满足这些条件的示例.
You need to consider what criteria you are using to determine what is a 'good quality job'. Then select the example that addresses those criteria.
这篇关于保留宽高比的图像调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!