You can use any one method to get your requirement:
1.You can use the pxAddImage function in a Pega activity to add a PNG image to a PDF file. This function allows you to specify the image file, its location, and the PDF file to which you want to add the image.
2.The pxGeneratePDF function can be used to generate a PDF file from a template or a HTML string.
@spencerwikal - In run time which section is capturing the these two files can be passed to either pxCreatePDF or pyViewAsPDF activity to generate the PDF.
pxCreatePDF - Attach the PDF at the case level and takes section rule
pyViewAsPDF - Download’s the PDF and takes the html file ( Can include the section in html rule by using <pega:include type=“Rule-HTML-Section” name=“SectionName” />)