PB 2019 R3, Postgresql 11
I could store and retrieve image files that's stored from the Powerbuilder application. Now through a mobile application, they store images in the same database that PB applications need to retrieve and update. Simply images stored from one (PB/mobile) application should be modifiable from other (mobile/PB) application(s).
We store data from PB application using UPDATEBLOB command.
We store data from Mobile application using
// convert image to byte
ls_byte = ImageToBytes(ib_bitmap)
// convert byte to EncodeBase64
ls_base64string = ls_stringutils.EncodeBase64(ls_byte)
// Pass this base64 string to Web API and storing that in the database.
Is this process correct? Reverting the same process we could view the image in the mobile application.
But not in the PB application. Any idea how to store images from a mobile application so that we can view the same from the PB application and vice versa?