Sign in Join
Wiki copytemporary

TDBImage/ja: what changed

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

Title: TDBImage/ja

OldNewLine
1+**TDBImage** ![](/wiki-images/c/c4/Tdbimage.png) はデータベースのBLOBフィールドに格納されている画像を表示するデータに結びつけられたコントロールである。[[Component Palette/ja]] の[[Data Controls tab/ja|Data Controls tab/jaにある]]。
2+
3+## 保存
4+
5+デフォルトでは、Lazarus は、ファイルタイプを定義するファイル拡張子を先頭に付けたバイナリイメージデータを保存する。これにより、複数の画像形式を自由に保存できる。
6+
7+Delphi では単一のファイル形式 (jpg?) のみが許可される。 最近の Lazarus バージョンでは、このストレージ形式も許可されており、バイナリ データの先頭にあるマジック データに基づいてイメージ タイプを自動検出しようとする。
8+
9+## 例
10+
11+例えばLazarus ディレクトリ examples\database\\ の sqlite_mushrooms/image_mushrooms をみること。
12+
13+<figure>
14+<img src="mushrooms.png" title="Screen shot" />
15+<figcaption>Screen shot</figcaption>
16+</figure>
17+
18+## 以下も参照のこと
19+
20+- [[doc:/lcl/dbctrls/tdbimage.html|TDBImage doc]]
21+
22+---
23+*From the Free Pascal wiki, page "TDBImage/ja", as it stood on 2024-03-31 after a change by Ariben, 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