Problem :
There is a scenario in Asset Manager application where the captured images from webcam will be sent to the back-end and saved to the GOS.
We are able to upload the images but can’t open them. IMHO, The issue is with the format.
Steps taken :
- A similar thing was developed where normal attachments(any extension) were uploaded to the GOS without much challenges.
- But the same approach failed for the Webcam captured images.
- We tried various encoding/decoding techniques and conversions in the backend but that did not work.
- We get Base 64 encoded string from the UI which currently we are trying to validate if corrupted.
- The base 64 is decoded, converted to XString and then to binary and finally uploaded to GOS.
We have Used FM SSFC_BASE64_DECODE to decode the Base64 encoded image data. However even that seems not to be working.
We will keep trying other ways from our side but if somebody has idea on how to get this done , that you know of, please help .