我怎样才能显示我的图像尺寸x 2? [英] how can i display my image size x 2?
本文介绍了我怎样才能显示我的图像尺寸x 2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一张照片,我希望能够显示尺寸。
我已经开始获得最小尺寸了。上传的那个。
喜欢这个....
I have a photo and i would like to display the sizes avalible.
I have started off with getting the smallest size avalible. The uploaded one.
like this....
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | 换行 | 行号
推荐答案
在这里:
Here you go:
展开 | 选择 | Wrap | 行号
您刚回答了自己的问题:乘以 y by n ,其中 y 是图像高度, n 是倍数。你不必担心长宽比,因为你没有采取一个维度而是另一个维持对抗它。
You just answered your own question: multiply y by n, where y is the image height, and n is the multiple. You don''t have to worry about the aspect ratio, because you''re not taking one dimension and working the other out against it.
这里是另一个单行使用乘法而不是求和的相同代码:
Here''s another one-liner for the same code using multiplication instead of summation:
展开 | 选择 | Wrap | 行号
这篇关于我怎样才能显示我的图像尺寸x 2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文