ios拍摄的照片,我现在用的是iPhone 4s,然后把拍摄的照片大小打印出来,如下:
2448.000000, 3264.000000
我的程序是按照 宽高 320:480 的比例对照片进行缩放的,结果上面的尺寸进行缩放,没法全屏,宽是320的情况下,高达不到480.怎么这样子。
PHPz2017-04-17 13:13:36
The ratio of your photo is here. If you want to change the ratio, just force the width and height to be 100%. This will stretch the image