【发布时间】:2016-09-29 06:51:11
【问题描述】:
如何使用 Google Apps 脚本检查存储在 Google Drive 上的图像的分辨率。
var childFile = files.next();
data = [
childFile.getName(),
childFile.getDateCreated(),
childFile.getUrl(),
childFile.getLastUpdated(),
childFile.getDescription(),
childFile.getSize()
];
在上面的代码中,我可以得到图像的大小,但我怎样才能得到图像的分辨率。
【问题讨论】:
标签: google-apps-script google-drive-api