OK thanks to the help of an awesome community I was able to get this working.
This is the fix: myBase64String = toBase64(query.ImageBytes); myImage = ImageReadBase64(myBase64String); btw, the documentation on toBase64 might be wrong. One of the parameters of the function is encoding. Take a look: http://www.openbluedragon.org/manual/?/function/tobase64 Anyways. Thanks everyone for the help! On Mar 14, 12:14 pm, BCulpepper <[email protected]> wrote: > I have images that are stored as blobs in an MSSQL database. When I > try and do ImageRead(query.ImageBytes) I get: > "Data not supported: Cannot convert binary data to string". Has anyone > else had this issue? Anyone have a work around. I can't move forward > on this project if I can't get this part working. > > OpenBD Version: Nightly Build (Downloaded today) > Apache/Tomcat > OS: Mac OS X > > Here is a screen shot of the error and query > dump:http://dl.dropbox.com/u/3835711/QueryImage-ScreenShot.jpg > > Thank you for any assistance. > > - Brandon Culpepper -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
