[FEATURE] Improve thumbnail quality for PDF

Change-Id: I157dedbca9ac13204dcf3ecabc6591b9ff3f38e7
Releases: 2.0
Resolves: #57760