Convert PDF files to image formats in C# and VB.NET