在Timage组件中分部分加载大图像

发布于 2024-09-27 19:37:13 字数 191 浏览 0 评论 0原文

我在服务器上有一个大图像。当用户请求任何一个时,我将它们下载到客户端计算机上,一旦完成,我将其加载到 Timage 控件中。

现在,客户端请求图像必须以块(部分)的形式出现,并且一旦下载了块,它就必须显示在 Timage 控件中,并且一旦下载了其他块,它就必须附加到先前加载的图像。

我不知道如何进行同样的操作。我使用的是德尔福2006

I have a large images on server. When user request for any one I download them on to the client machine and once it is complete I load it into Timage control.

Now what client is requesting that the image must come in chunks(parts) and as soon as a chunk is downloaded it must be shown in Timage control and as soon as other chunk downloaded it must be appended to previously loaded image.

I am not getting how to proceed for the same. I am using Delphi 2006

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一页 2024-10-04 19:37:13

创建 bm,一个与整个图像大小相同的空(白色或黑色)TBitmap。然后一一下载图像的每个单元格。下载新单元格后,将其绘制在bm 的右侧(例如使用BitBltDraw)。

Create bm, an empty (whiter or black) TBitmap with the same size as the entire image. Then download each cell of the image one by one. When a new cell is downloaded, draw it (for instance, using BitBlt or Draw) on the right part of bm.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文