从Google云端硬盘下载图像文件 [英] Download image file from Google Drive

查看:189
本文介绍了从Google云端硬盘下载图像文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将图像文件上传到Google Drive SDK,然后尝试下载相同的图像。我查看了Google Drive Developer示例中的文件下载示例,但它们仅向我们展示了如何从文件中下载文本。如何下载图片?该文件是Google云端硬盘上的.JPEG文件。

I am uploading an image file to the Google Drive SDK and then trying to download the same image back. I looked at the examples for downloading files from the Google Drive Developer examples, but they only show us how to download text from the files. How do I go about downloading an image? The file is .JPEG file on Google Drive.

推荐答案

Google Drive SDK文档显示了如何使用给定路径下载文件用户的驱动器:

The Google Drive SDK documentation shows how to download files with a given path in user's drive:


https://developers.google.com/drive/manage-downloads

我相信你可以下载图像就像互联网上的任何其他图像文件。将其保存到设备,使其中的位图等。

I am sure you can download the images just like any other image file on the internet. Save it to device, make a bitmap out of it, etc.

这篇关于从Google云端硬盘下载图像文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆