I am using Aspose for converting PDF files into PNG files. Below is the code snippet of the converting process.
Resolution resolution = new Resolution(quality