Board index » delphi » saving jpeg image into an Interbase 6 blob field

saving jpeg image into an Interbase 6 blob field

How can I save a JPEG in an IB6 blob column an then display it in a TImage
or TDBImage ?

Thanks in advance

JMB

 

Re:saving jpeg image into an Interbase 6 blob field


Quote
Jorge Montas wrote:

> How can I save a JPEG in an IB6 blob column an then display it in a TImage
> or TDBImage ?

        Use TBlobField.LoadFromFile or LoadFromStream to save it and TImage to
display it.  TDBImage cannot deal with JPGs.

        HTH,

        -Craig

--
Craig Stuntz               Vertex Systems Corporation
Senior Developer           http://www.vertexsoftware.com

Delphi/InterBase weblog:   http://delphi.weblogs.com

Other Threads