WeeStinker
asked on
Saving JPEG image into LONGBLOB field in mySQL
I want to save a screenshot into a mySQL table using Delphi code.
I have the jpeg image in a TImage component and want to write it using an SQL statement into a LONGBLOB field. I also want to be able to load it back from the db into an Image component.
I do not want to save the file locally and reference it via a field in the DB (I know many recommend this option)
Thanks.
I have the jpeg image in a TImage component and want to write it using an SQL statement into a LONGBLOB field. I also want to be able to load it back from the db into an Image component.
I do not want to save the file locally and reference it via a field in the DB (I know many recommend this option)
Thanks.
ASKER
I am using myComponents by AidAim
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, that gave me enough clues to get it working.
John