图像表现 [英] image performance

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

问题描述

图像性能

推荐答案

二进制实体属性(图像类型是一种二进制类型)被视为与其他标量值属性一样在实体上。因此,当查询返回实体集合,并且实体类型具有图像类型属性​​时,图像将从服务器下载
到具有其余属性值的客户端。我们的想法是使按需加载实体的二进制类型属性(就像计算属性一样),以便下载到客户端的有效负载最小,但是这个功能
没有削减。

Binary entity properties (Image type is a type of Binary type) are treated just like the other scalar value properties on entities. So when a query returns a collection of entities, and the entity type has Image-typed properties, the images are download from the server to the client with the rest of the property values. An idea we had was to make Binary type properties of entities loadable on demand (just like computed properties) so that the payload downloaded to the client would be minimal, but this feature did not make the cut.

加载图像或保存图像时,非常大的图像会影响应用程序的性能。这适用于普通的Silverlight应用程序。对于解压缩到大量内存的图像,Silverlight将需要一段时间才能加载
,并且UI将在此期间被冻结。我们的指导是您不要尝试加载超大图像。

Very large images will affect the performance of the application when loading the image or saving the image. This is true for normal Silverlight applications. For images that decompress into large amounts of memory, Silverlight will take a while to load it and the UI will be frozen during that time. Our guidance is that you don't try to load extremely large images.

我不确定为什么您的搜索屏幕没有携带图像数据。可能是您碰巧将搜索结果集限制为只有没有图像的实体。

I'm not sure why your search screen is not carrying image data. It could possibly be that you happen to limit the result set of the search to only have entities that do not have images.


这篇关于图像表现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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