OSX issues saving blob
Posted: Wed 01 Aug 2018 23:14
I have code that works on Windows for saving an image to a MySQL database via TDAParams and using TDAParam.LoadFromFile as type ftBlob. Using MyDac version 9.0.2.
The same code causes the image to save corrupted on OSX. The size of the image is the same whether it is saved from Windows or OSX (5106 bytes). I have tried using TDAParam.LoadFromStream and other field types but they all do no to work.
Has anyone come across problems on OSX and know why this isn't working?
Could this be resolved in later versions of MyDac?
Good Image:
Corrupted Image:
The same code causes the image to save corrupted on OSX. The size of the image is the same whether it is saved from Windows or OSX (5106 bytes). I have tried using TDAParam.LoadFromStream and other field types but they all do no to work.
Has anyone come across problems on OSX and know why this isn't working?
Could this be resolved in later versions of MyDac?
Good Image:
Corrupted Image: