jpeg Image out of an TBlobfield

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mikel.pahl
Posts: 1
Joined: Mon 22 Nov 2004 09:15
Location: Karlsruhe Germany

jpeg Image out of an TBlobfield

Post by mikel.pahl » Mon 22 Nov 2004 09:20

How to get an jpeg Image out of an TBlobfield and put it into an Timage

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Mon 22 Nov 2004 14:44

You can use jpg in TImage when you are loading it with LoadFromFile only (type of the image is defined by the extension). TDBImage always loads picture as Bitmap.


Here is the sample of creating your own TExtDBImage:

http://groups.google.com/groups?hl=en&l ... coring%3Dd


http://groups.google.com/groups?hl=en&l ... coring%3Dd

Here is the answer from Borland (TeamB), how to use TImage instead of TDBImage:

http://groups.google.com/groups?hl=en&l ... coring%3Dd

Post Reply