Discussion
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/ca470a40-2448-45d3-9adb-c50fb42bc28d.jpg?itok=cBtt_PYC)
LLoyds Banking Group
GB
Last activity: 16 Jun 2017 11:57 EDT
Converting Screenshot type attachment to JPEG file
Is it possible to convert the screenshot type attachment to a JPEG file? I have a requirement to move the case attachment to an external system. I am struggling with the screenshot type attachment. The actual stream of the attachment is saved in a property called "pyEncodedScreenShot ". It contains an XML with base46 encoded data. Is it possible to convert this data to byte array and write to a JPEG file?