Sign in Join
Wiki copytemporary

TDBImage/zh CN: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11**TDBImage** ![](/wiki-images/c/c4/Tdbimage.png) 数据库绑定控件,用来显示数据库中 BLOB 字段中的内容. 在 [[Data Controls tab]] 的 [[Component Palette]].
22
33## 存储
44
55默认情况下, Lazarus 将图形文件以二进制的形式存入数据库中,因此Lazarus可以存储任何图片类型。
66
77Delphi 仅支持 (jpg?),最新版本未知. 最新的 Lazarus版本也允许此种类型存储,而且Lazarus已经尝试根据二进制文件的特性来自动检测图片为何种格式。
88
99## 样例
1010
1111在代码示例中. sqlite_mushrooms/image_mushrooms 样例,在目录 examples\database\\ 中可以找到
1212
13-<figure>
14-<img src="mushrooms.png" title="Screen shot" />
15-<figcaption>Screen shot</figcaption>
16-</figure>
13+![](/wiki-images/9/96/Mushrooms.png)
1714
1815## 参考资料
1916
2017- [[doc:/lcl/dbctrls/tdbimage.html|TDBImage doc]]
2118
2219---
2320*From the Free Pascal wiki, page "TDBImage/zh CN", as it stood on 2020-05-16 after a change by TyphonFinger, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history