Thanks for the nice example but I need to add images programmatically.
Maybe you can explain it a bit more clear...
Do you want (or have) a base64-encoded .tiff inside the blob?
Or do you want plain unencoded .tiff in the blob? (which is what is normally in a blob)
wp showed you how to program a TDBImage which can be used to display images directly from the database.
But I'm not sure TDBImage (or TImage) can support .tiff (it failed to load a .tiff image for me when I tried to load it in a TImage).
Is that what your problem is?
But then I don't understand your mention of base64. So can you explain what you want base64 has to do with this?