I\'m converting a PDF page into a UIImage. While doing so, I lose the image quality. Need help in getting high quality images.
Code to generate UIImage
As of iOS 11.0, macOS 10.13, Mac Catalyst 13.0 you can use thumbnailOfSize:forBox: