How to automate conversion from PNG to PDF, and transition from PDF to byte array, and to store the byte array in Pega
I currently have an automation in Pega Robotics Studio which takes a screenshot and saves it as a .png file in a local destination (C:\temp\image.png).
I'd like to also automate
1. conversion from PNG file to PDF
2. change the PDF to byte array
3. storing of the byte array of the screenshot in Pega
The only way I'm currently thinking of automating (1) is by interrogating a 3rd party website which does the conversion for you from PNG to PDF. Are there any other ways I could do with more ease?
for (2) and (3), I'm genuinely confused whether or not such functionalities are available in Robotics Studio. Any help/direction to appropriate posts are appreciated. Thanks.