loadFromString() method... Has been answered!
Posted: Wed Feb 27, 2008 8:33 pm
I have an image recorded on a table in MySQL database. Is there any way of
TBitmap open this file without the need to create on the hard disc?
I have using this:
Is there a way to load an image into an object of type TBitmap or any other
kind of a string directly from the database?
Something like :loadFromString () method from the Delphi?
TBitmap open this file without the need to create on the hard disc?
I have using this:
Code: Select all
cResult := Result of this query -> [ SELECT image FROM table1 ]
memoWrit( "C:\IMG001.BMP", cResult )
oImagem:loadBMP( "C:\IMG001.BMP" )
oImagem:refresh()
kind of a string directly from the database?
Something like :loadFromString () method from the Delphi?