GAE Blobstore:ImagesService.getServingUrl()为我提供了更小的图像

Car*_*ron 9 google-app-engine blobstore

我正在将一些图像上传到GAE的Blobstore.上传成功,当我在GAE控制台中看到图像时,我可以看到它们以预期的大小和分辨率存储.

根据这个网站,要获得上传图像的URL,我可以使用:

BlobKey blobKey = (BlobKey) blobs.get("image");
ImagesService imagesService = ImagesServiceFactory.getImagesService();
String imageUrl = imagesService.getServingUrl(blobKey);
Run Code Online (Sandbox Code Playgroud)

生成的URL指向较小版本的上载图像(大小和质量).如何获取存储在Blobstore中的完整大小图像的URL?

spe*_*ope 19

您可以在网址后附加= s0参数以获取完整大小的图像.