HELLO SIR
I got code but not able to found a related library to build.
I need to convert multiple-page pdf to jpeg and save.
code:
public static void SavePageToImageDemo()
{
string fileName = FolderName + "Sample.pdf";
REDocument doc = REFile.OpenDocumentFile(fileName, new PDFDecoder());//use PDFDecoder open a pdf file
int pageCount = doc.GetPageCount();//get pdf's page count
for (int pgIdx = 0; pgIdx < pageCount; pgIdx++)
{
BasePage aPage = doc.GetPage(pgIdx);//get page from REDocument
try
{
REImage img = (REImage)aPage.ToImage();//translate page to image
REFile.SaveImageFile(img, FolderName + "output" + pgIdx + ".bmp");//save image
}
catch (Exception)
{
Debug.WriteLine("Fail to display page " + pgIdx);
}
}
}