Question
1
Replies
74
Views
Cognizant
Posted: April 17, 2019
Last activity: April 17, 2019
Closed
Solved
Reducing image size in pdf when using base64
I am getting base64 of an image from service which I am using to display the image in pdf.
I have to restrict the size of the image in pdf . I tried to apply size attributes and css class but it is not working in pdf but the same is working when I review the html in browser .
Any suggestions ?
***Edited by Moderator Marissa to update platform capability tags****
It's working for me when I use a label instead of Icon/Image control . Please let me know if somebody finds some other solution.
Solution - <img broder=0 src="data:image/png;base64, <pega:reference name=".PropertyReference" />" width =200 height= 200/>