Hi there , i'm delphi coder as a matter of fact I used to do similar jobs I mean coding Database Driven application using the latest engines like FireDac,ADO,DBExpress,Zeos and so forth withy latest RDBMS like SQLServer,ACCESS,MySQL,FireBird and so forth , actually I have already made a function that saves an image of any format (PNG,GIF,JPEG,BMP) in my latest project using the Blob Stream anyway just tell me about which engine you are dealing with and more information and I'll make for you a sample ASAP after all it is your verdict ^^
Best Regards