[FEATURE] Improve thumbnail quality for PDF

Change-Id: Iedeab60020e0454bafded2ea64cc6334bcfb4a1d
Releases: 3.0.0
Resolves: #57760