有什么方法可以加快 Picasa PhotoQuery 的速度吗?
我正在尝试通过 C#
从 Picasa 检索几组图像。当我调试时,我注意到每个查询最多需要 4 秒。我的代码如下:
var thumbnailPhotoQuery = new PhotoQuery(PicasaQuery.CreatePicasaUri("SomeUser","SomeGallery"));
var largePhotoQuery = new PhotoQuery(PicasaQuery.CreatePicasaUri("SomeUser","AnotherGallery"));
var thumbnailFeed = picasaService.Query(thumbnailPhotoQuery);
var largeFeed = picasaService.Query(largePhotoQuery);
我的画廊每个仅包含大约 20 张图像。我能做些什么来让这些执行得更快吗?
I am trying to retrieve a couple sets of images from Picasa via C#
. When I debug, I notice that the queries are taking up to 4 seconds each. My code is as follows:
var thumbnailPhotoQuery = new PhotoQuery(PicasaQuery.CreatePicasaUri("SomeUser","SomeGallery"));
var largePhotoQuery = new PhotoQuery(PicasaQuery.CreatePicasaUri("SomeUser","AnotherGallery"));
var thumbnailFeed = picasaService.Query(thumbnailPhotoQuery);
var largeFeed = picasaService.Query(largePhotoQuery);
My galleries contain only about 20 images each. Is there anything I can do to make these execute faster?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用“fields”额外参数指定您真正想要下载的内容。
例子:
try specify what do you really want to download using "fields" extra parameter.
Example: