Board index » delphi » save JPEG data to database field

save JPEG data to database field

Hi,

What would be the best way to save a JPEG stream to a database [blob] field?

Rather than using TDBImage as I do now, which stores the bitmap [to big].

Thanks
Brian

 

Re:save JPEG data to database field


Hai,

See TBlobField.LoadFromStream.

Regards.

Quote
"Brian Baley" <bba...@peak-power.net> wrote in message

news:3ea5c83b@newsgroups.borland.com...
Quote
> Hi,

> What would be the best way to save a JPEG stream to a database [blob]
field?

> Rather than using TDBImage as I do now, which stores the bitmap [to big].

> Thanks
> Brian

Re:save JPEG data to database field


**********************************
Delphi tip#141: to save file in BLOB and restore later
http://www.scalabium.com/faq/dct0141.htm
**********************************

--
With best regards, Mike Shkolnik
EMail: mshkol...@scalabium.com
http://www.scalabium.com

"Brian Baley" <bba...@peak-power.net> ???Y/???Y ????? ???Y??:
news:3ea5c83b@newsgroups.borland.com...

Quote
> Hi,

> What would be the best way to save a JPEG stream to a database [blob]
field?

> Rather than using TDBImage as I do now, which stores the bitmap [to big].

> Thanks
> Brian

Other Threads