将图像下载到本地计算机 [英] Download an image to local machine

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

问题描述




我想下载一张我使用cfchart创建的图表来excel并将其保存到本地机器。我遇到的问题是当我将其保存在本地机器中时,图像已过期。我以前下载到excel的代码是

Hi,

I want to download a chart which I created using cfchart to excel and save it to local machine. The problem I am experiencing is when I save it in local machine,image is getting expired. The code I used to download to excel is

展开 | 选择 | Wrap | 行号

推荐答案

它是否会立即过期还是过了一段时间?
Does it expire immediately or after some time?



它是立即过期还是过了一段时间?
Does it expire immediately or after some time?



它会立即过期。一旦我将它保存到本地机器并打开它。它显示图像已过期。


谢谢

Resmi

It expires immediately. Once I save it to local machine and open it. It displays image expired.

Thanks
Resmi


那是因为图表存储在缓存中一旦缓存过期,图像就不再可用。图像没有存储在Excel文件中 - 它只是一个链接。您可以尝试将图表复制到缓存外部的其他位置,然后链接到该位置。
That''s because the chart is stored in the cache and once the cache expires the image is no longer available. The image is not being stored in the Excel file - it''s just a link. You can try copying the chart to another location outside the cache and link to that instead.


这篇关于将图像下载到本地计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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