以编程方式将图像保存在dll中 [英] saving images in dll programatically

查看:67
本文介绍了以编程方式将图像保存在dll中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何动态地创建一个dll文件,并使用c#以编程方式在其中嵌入/添加图像.

how can i create a dll file dynamically and embedding/adding images in it programmatically using c#.

推荐答案

我不知道有什么方法可以做除非您将dll加载到内存中,否则请添加图像,然后再次将其写出.这对我来说似乎很浪费.如果需要将它们存储在文件中,我将安装SQL Lite或另一个嵌入式DB并在其中存储图像.
I don''t know of any way to do that unless you load the dll in to memory, add the images, and write it out again. That seems very wasteful to me. I''d be installing SQL Lite or another embedded DB and storing images in that, if I needed to store them in a file.


这篇关于以编程方式将图像保存在dll中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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