Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image processing 如何让filepicker.stat()返回旋转图像的尺寸?_Image Processing_Filepicker.io_Filepicker - Fatal编程技术网

Image processing 如何让filepicker.stat()返回旋转图像的尺寸?

Image processing 如何让filepicker.stat()返回旋转图像的尺寸?,image-processing,filepicker.io,filepicker,Image Processing,Filepicker.io,Filepicker,我们正在从filepicker.pickAndStore()获取图像元数据并将其存储在成功回调中。现在,我们正在使用filepicker.stat()获取维度: 我们希望宽度和高度返回旋转图像的尺寸(使用rotate=exif)。做这件事最简单的方法是什么?你有没有碰巧得到什么解决方案? // file is an object returned from the success callback filepicker.stat(file, { width: true, height: true

我们正在从
filepicker.pickAndStore()
获取图像元数据并将其存储在成功回调中。现在,我们正在使用
filepicker.stat()
获取维度:


我们希望宽度和高度返回旋转图像的尺寸(使用
rotate=exif
)。做这件事最简单的方法是什么?

你有没有碰巧得到什么解决方案?
// file is an object returned from the success callback
filepicker.stat(file, { width: true, height: true }, function(metadata) {
  // our app code
});