PDF to JPEG conversion returns blank JPEGs

Hi Support,


For Several years we have successfully used Fax talk to convert faxes into a PDF format 1.3 (Acrobat 4.X) and then used Aspose to convert the PDF to JPEG images format as determined by the number of pages in the PDF.

We recently decided to test MyFax which convert faxes to PDF format 1.6 (Acrobat 7.x) using PDFlib 8.0.1p9 9(C++ Legacy/Linux) and then use Aspose to convert the PDF into JPEG images, however after the conversion all the JPEG images are black and 30Kb in size.

My objective is to get Aspose to generate the correct JPEG images. Any help would be appreciated.


Thanks



Below is a sample of the code used by Aspose

=====================================

using System;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.IO;

using System.Data.SqlClient;

using System.Configuration;

namespace ProcessPDF

{

class Program

{

static void Main(string[] args)

{

try

{

string path = System.Reflection.Assembly.GetExecutingAssembly().CodeBase;

var directory = System.IO.Path.GetDirectoryName(path);

string licenseFile = directory.Replace("file:\\", "") + "\\Aspose.Total.lic";

if (File.Exists(licenseFile))

{

Aspose.Pdf.Kit.License license = new Aspose.Pdf.Kit.License();

license.SetLicense(licenseFile);

}

}

catch (Exception ex)

{

}

string strbarcode = string.Empty;

string connSTR = ConfigurationManager.ConnectionStrings["ConnString"].ToString();

DirectoryInfo objDir = new DirectoryInfo(ConfigurationManager.AppSettings["FAXFolder"].ToString());

SqlConnection SQLconn = new SqlConnection(connSTR);

int pdfFilePageCount = 0;

try

{

foreach (FileInfo oFile in objDir.GetFiles())

{

if (oFile.Name.IndexOf(".pdf") > 0 && oFile.CreationTime > DateTime.Now.Subtract(new TimeSpan(7, 0, 0, 0))) //only read the file that are within the last 7 days

{

string curFileName = ConfigurationManager.AppSettings["FAXFolder"].ToString() + oFile.Name;

Aspose.Pdf.Kit.PdfViewer objpView = new Aspose.Pdf.Kit.PdfViewer();

Aspose.Pdf.Kit.PdfExtractor extractor = new Aspose.Pdf.Kit.PdfExtractor();

bool readPDFSucessfully = true;

try

{

objpView.OpenPdfFile(curFileName);

pdfFilePageCount = objpView.PageCount;

//Bind the input PDF document to extractor

extractor.BindPdf(curFileName);

//Set the Number of Page in PDF document from where to start image extraction

extractor.StartPage = 1;

//Set the Number of Page in PDF document, where to end image extraction

extractor.EndPage = pdfFilePageCount;

//Extract images from the input PDF document

extractor.ExtractImage();

}

catch (Exception ex)

{

System.IO.StreamWriter errorLogFile = new System.IO.StreamWriter(ConfigurationManager.AppSettings["ErrorFile"].ToString(), true);

errorLogFile.WriteLine(ex.ToString() + " -- " + DateTime.Now.ToShortDateString() + DateTime.Now.ToShortTimeString());

errorLogFile.Close();

oFile.MoveTo(ConfigurationManager.AppSettings["CoruptedFaxes"].ToString() + oFile.Name);

readPDFSucessfully = false;

}

finally

{

objpView.ClosePdfFile();

}

string subdirName = ConfigurationManager.AppSettings["ProcessedFaxes"].ToString() + oFile.Name.Substring(0, oFile.Name.LastIndexOf('.'));

DirectoryInfo di = new DirectoryInfo(subdirName);

// Create the directory only if it does not already exist.

if (di.Exists == false && readPDFSucessfully)

di.Create();

//A variable to store the prefix (First Part usually file name) of the image file name

String prefix = di.FullName + "\\" + oFile.Name.Substring(0, oFile.Name.LastIndexOf('.')); //"C:\\Test\\" + oFile.Name.Substring(0, oFile.Name.LastIndexOf('.')) + "\\" + oFile.Name.Substring(0, oFile.Name.LastIndexOf('.'));

//A variable to store the suffix (Last Part usually file extension) of the image file name

String suffix = ".jpg";

//A variable to count number of extracted images

int imageCount = 1;

//Calling HasNextImage method in while loop. When images will finish, loop will exit

while (extractor.HasNextImage())

{

//Call GetNextImage method to store image as a file

extractor.GetNextImage(prefix + imageCount + suffix);

//Incrementing image counter variable

imageCount++;

}

}

}

}

catch (Exception ex)

{

System.IO.StreamWriter file = new System.IO.StreamWriter(ConfigurationManager.AppSettings["ErrorFile"].ToString(), true);

file.WriteLine(ex.ToString() + " -- " + DateTime.Now.ToShortDateString() + DateTime.Now.ToShortTimeString());

file.Close();

}

}

}

}

<w:LatentStyles DefLockedState=“false” DefUnhideWhenUsed=“false”
DefSemiHidden=“false” DefQFormat=“false” DefPriority=“99”
LatentStyleCount=“371”>
<w:LsdException Locked=“false” Priority=“0” QFormat=“true” Name=“Normal”/>
<w:LsdException Locked=“false” Priority=“9” QFormat=“true” Name=“heading 1”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 2”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 3”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 4”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 5”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 6”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 7”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 8”/>
<w:LsdException Locked=“false” Priority=“9” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“heading 9”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 5”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 6”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 7”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 8”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index 9”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 1”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 2”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 3”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 4”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 5”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 6”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 7”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 8”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“toc 9”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Normal Indent”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“footnote text”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“annotation text”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“header”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“footer”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“index heading”/>
<w:LsdException Locked=“false” Priority=“35” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“caption”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“table of figures”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“envelope address”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“envelope return”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“footnote reference”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“annotation reference”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“line number”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“page number”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“endnote reference”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“endnote text”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“table of authorities”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“macro”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“toa heading”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Bullet”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Number”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List 5”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Bullet 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Bullet 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Bullet 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Bullet 5”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Number 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Number 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Number 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Number 5”/>
<w:LsdException Locked=“false” Priority=“10” QFormat=“true” Name=“Title”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Closing”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Signature”/>
<w:LsdException Locked=“false” Priority=“1” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“Default Paragraph Font”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text Indent”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Continue”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Continue 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Continue 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Continue 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“List Continue 5”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Message Header”/>
<w:LsdException Locked=“false” Priority=“11” QFormat=“true” Name=“Subtitle”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Salutation”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Date”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text First Indent”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text First Indent 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Note Heading”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text Indent 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Body Text Indent 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Block Text”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Hyperlink”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“FollowedHyperlink”/>
<w:LsdException Locked=“false” Priority=“22” QFormat=“true” Name=“Strong”/>
<w:LsdException Locked=“false” Priority=“20” QFormat=“true” Name=“Emphasis”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Document Map”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Plain Text”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“E-mail Signature”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Top of Form”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Bottom of Form”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Normal (Web)”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Acronym”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Address”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Cite”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Code”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Definition”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Keyboard”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Preformatted”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Sample”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Typewriter”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“HTML Variable”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Normal Table”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“annotation subject”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“No List”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Outline List 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Outline List 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Outline List 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Simple 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Simple 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Simple 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Classic 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Classic 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Classic 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Classic 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Colorful 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Colorful 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Colorful 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Columns 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Columns 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Columns 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Columns 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Columns 5”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 5”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 6”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 7”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Grid 8”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 4”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 5”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 6”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 7”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table List 8”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table 3D effects 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table 3D effects 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table 3D effects 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Contemporary”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Elegant”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Professional”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Subtle 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Subtle 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Web 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Web 2”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Web 3”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Balloon Text”/>
<w:LsdException Locked=“false” Priority=“39” Name=“Table Grid”/>
<w:LsdException Locked=“false” SemiHidden=“true” UnhideWhenUsed=“true”
Name=“Table Theme”/>
<w:LsdException Locked=“false” SemiHidden=“true” Name=“Placeholder Text”/>
<w:LsdException Locked=“false” Priority=“1” QFormat=“true” Name=“No Spacing”/>
<w:LsdException Locked=“false” Priority=“60” Name=“Light Shading”/>
<w:LsdException Locked=“false” Priority=“61” Name=“Light List”/>
<w:LsdException Locked=“false” Priority=“62” Name=“Light Grid”/>
<w:LsdException Locked=“false” Priority=“63” Name=“Medium Shading 1”/>
<w:LsdException Locked=“false” Priority=“64” Name=“Medium Shading 2”/>
<w:LsdException Locked=“false” Priority=“65” Name=“Medium List 1”/>
<w:LsdException Locked=“false” Priority=“66” Name=“Medium List 2”/>
<w:LsdException Locked=“false” Priority=“67” Name=“Medium Grid 1”/>
<w:LsdException Locked=“false” Priority=“68” Name=“Medium Grid 2”/>
<w:LsdException Locked=“false” Priority=“69” Name=“Medium Grid 3”/>
<w:LsdException Locked=“false” Priority=“70” Name=“Dark List”/>
<w:LsdException Locked=“false” Priority=“71” Name=“Colorful Shading”/>
<w:LsdException Locked=“false” Priority=“72” Name=“Colorful List”/>
<w:LsdException Locked=“false” Priority=“73” Name=“Colorful Grid”/>
<w:LsdException Locked=“false” Priority=“60” Name=“Light Shading Accent 1”/>
<w:LsdException Locked=“false” Priority=“61” Name=“Light List Accent 1”/>
<w:LsdException Locked=“false” Priority=“62” Name=“Light Grid Accent 1”/>
<w:LsdException Locked=“false” Priority=“63” Name=“Medium Shading 1 Accent 1”/>
<w:LsdException Locked=“false” Priority=“64” Name=“Medium Shading 2 Accent 1”/>
<w:LsdException Locked=“false” Priority=“65” Name=“Medium List 1 Accent 1”/>
<w:LsdException Locked=“false” SemiHidden=“true” Name=“Revision”/>
<w:LsdException Locked=“false” Priority=“34” QFormat=“true”
Name=“List Paragraph”/>
<w:LsdException Locked=“false” Priority=“29” QFormat=“true” Name=“Quote”/>
<w:LsdException Locked=“false” Priority=“30” QFormat=“true”
Name=“Intense Quote”/>
<w:LsdException Locked=“false” Priority=“66” Name=“Medium List 2 Accent 1”/>
<w:LsdException Locked=“false” Priority=“67” Name=“Medium Grid 1 Accent 1”/>
<w:LsdException Locked=“false” Priority=“68” Name=“Medium Grid 2 Accent 1”/>
<w:LsdException Locked=“false” Priority=“69” Name=“Medium Grid 3 Accent 1”/>
<w:LsdException Locked=“false” Priority=“70” Name=“Dark List Accent 1”/>
<w:LsdException Locked=“false” Priority=“71” Name=“Colorful Shading Accent 1”/>
<w:LsdException Locked=“false” Priority=“72” Name=“Colorful List Accent 1”/>
<w:LsdException Locked=“false” Priority=“73” Name=“Colorful Grid Accent 1”/>
<w:LsdException Locked=“false” Priority=“60” Name=“Light Shading Accent 2”/>
<w:LsdException Locked=“false” Priority=“61” Name=“Light List Accent 2”/>
<w:LsdException Locked=“false” Priority=“62” Name=“Light Grid Accent 2”/>
<w:LsdException Locked=“false” Priority=“63” Name=“Medium Shading 1 Accent 2”/>
<w:LsdException Locked=“false” Priority=“64” Name=“Medium Shading 2 Accent 2”/>
<w:LsdException Locked=“false” Priority=“65” Name=“Medium List 1 Accent 2”/>
<w:LsdException Locked=“false” Priority=“66” Name=“Medium List 2 Accent 2”/>
<w:LsdException Locked=“false” Priority=“67” Name=“Medium Grid 1 Accent 2”/>
<w:LsdException Locked=“false” Priority=“68” Name=“Medium Grid 2 Accent 2”/>
<w:LsdException Locked=“false” Priority=“69” Name=“Medium Grid 3 Accent 2”/>
<w:LsdException Locked=“false” Priority=“70” Name=“Dark List Accent 2”/>
<w:LsdException Locked=“false” Priority=“71” Name=“Colorful Shading Accent 2”/>
<w:LsdException Locked=“false” Priority=“72” Name=“Colorful List Accent 2”/>
<w:LsdException Locked=“false” Priority=“73” Name=“Colorful Grid Accent 2”/>
<w:LsdException Locked=“false” Priority=“60” Name=“Light Shading Accent 3”/>
<w:LsdException Locked=“false” Priority=“61” Name=“Light List Accent 3”/>
<w:LsdException Locked=“false” Priority=“62” Name=“Light Grid Accent 3”/>
<w:LsdException Locked=“false” Priority=“63” Name=“Medium Shading 1 Accent 3”/>
<w:LsdException Locked=“false” Priority=“64” Name=“Medium Shading 2 Accent 3”/>
<w:LsdException Locked=“false” Priority=“65” Name=“Medium List 1 Accent 3”/>
<w:LsdException Locked=“false” Priority=“66” Name=“Medium List 2 Accent 3”/>
<w:LsdException Locked=“false” Priority=“67” Name=“Medium Grid 1 Accent 3”/>
<w:LsdException Locked=“false” Priority=“68” Name=“Medium Grid 2 Accent 3”/>
<w:LsdException Locked=“false” Priority=“69” Name=“Medium Grid 3 Accent 3”/>
<w:LsdException Locked=“false” Priority=“70” Name=“Dark List Accent 3”/>
<w:LsdException Locked=“false” Priority=“71” Name=“Colorful Shading Accent 3”/>
<w:LsdException Locked=“false” Priority=“72” Name=“Colorful List Accent 3”/>
<w:LsdException Locked=“false” Priority=“73” Name=“Colorful Grid Accent 3”/>
<w:LsdException Locked=“false” Priority=“60” Name=“Light Shading Accent 4”/>
<w:LsdException Locked=“false” Priority=“61” Name=“Light List Accent 4”/>
<w:LsdException Locked=“false” Priority=“62” Name=“Light Grid Accent 4”/>
<w:LsdException Locked=“false” Priority=“63” Name=“Medium Shading 1 Accent 4”/>
<w:LsdException Locked=“false” Priority=“64” Name=“Medium Shading 2 Accent 4”/>
<w:LsdException Locked=“false” Priority=“65” Name=“Medium List 1 Accent 4”/>
<w:LsdException Locked=“false” Priority=“66” Name=“Medium List 2 Accent 4”/>
<w:LsdException Locked=“false” Priority=“67” Name=“Medium Grid 1 Accent 4”/>
<w:LsdException Locked=“false” Priority=“68” Name=“Medium Grid 2 Accent 4”/>
<w:LsdException Locked=“false” Priority=“69” Name=“Medium Grid 3 Accent 4”/>
<w:LsdException Locked=“false” Priority=“70” Name=“Dark List Accent 4”/>
<w:LsdException Locked=“false” Priority=“71” Name=“Colorful Shading Accent 4”/>
<w:LsdException Locked=“false” Priority=“72” Name=“Colorful List Accent 4”/>
<w:LsdException Locked=“false” Priority=“73” Name=“Colorful Grid Accent 4”/>
<w:LsdException Locked=“false” Priority=“60” Name=“Light Shading Accent 5”/>
<w:LsdException Locked=“false” Priority=“61” Name=“Light List Accent 5”/>
<w:LsdException Locked=“false” Priority=“62” Name=“Light Grid Accent 5”/>
<w:LsdException Locked=“false” Priority=“63” Name=“Medium Shading 1 Accent 5”/>
<w:LsdException Locked=“false” Priority=“64” Name=“Medium Shading 2 Accent 5”/>
<w:LsdException Locked=“false” Priority=“65” Name=“Medium List 1 Accent 5”/>
<w:LsdException Locked=“false” Priority=“66” Name=“Medium List 2 Accent 5”/>
<w:LsdException Locked=“false” Priority=“67” Name=“Medium Grid 1 Accent 5”/>
<w:LsdException Locked=“false” Priority=“68” Name=“Medium Grid 2 Accent 5”/>
<w:LsdException Locked=“false” Priority=“69” Name=“Medium Grid 3 Accent 5”/>
<w:LsdException Locked=“false” Priority=“70” Name=“Dark List Accent 5”/>
<w:LsdException Locked=“false” Priority=“71” Name=“Colorful Shading Accent 5”/>
<w:LsdException Locked=“false” Priority=“72” Name=“Colorful List Accent 5”/>
<w:LsdException Locked=“false” Priority=“73” Name=“Colorful Grid Accent 5”/>
<w:LsdException Locked=“false” Priority=“60” Name=“Light Shading Accent 6”/>
<w:LsdException Locked=“false” Priority=“61” Name=“Light List Accent 6”/>
<w:LsdException Locked=“false” Priority=“62” Name=“Light Grid Accent 6”/>
<w:LsdException Locked=“false” Priority=“63” Name=“Medium Shading 1 Accent 6”/>
<w:LsdException Locked=“false” Priority=“64” Name=“Medium Shading 2 Accent 6”/>
<w:LsdException Locked=“false” Priority=“65” Name=“Medium List 1 Accent 6”/>
<w:LsdException Locked=“false” Priority=“66” Name=“Medium List 2 Accent 6”/>
<w:LsdException Locked=“false” Priority=“67” Name=“Medium Grid 1 Accent 6”/>
<w:LsdException Locked=“false” Priority=“68” Name=“Medium Grid 2 Accent 6”/>
<w:LsdException Locked=“false” Priority=“69” Name=“Medium Grid 3 Accent 6”/>
<w:LsdException Locked=“false” Priority=“70” Name=“Dark List Accent 6”/>
<w:LsdException Locked=“false” Priority=“71” Name=“Colorful Shading Accent 6”/>
<w:LsdException Locked=“false” Priority=“72” Name=“Colorful List Accent 6”/>
<w:LsdException Locked=“false” Priority=“73” Name=“Colorful Grid Accent 6”/>
<w:LsdException Locked=“false” Priority=“19” QFormat=“true”
Name=“Subtle Emphasis”/>
<w:LsdException Locked=“false” Priority=“21” QFormat=“true”
Name=“Intense Emphasis”/>
<w:LsdException Locked=“false” Priority=“31” QFormat=“true”
Name=“Subtle Reference”/>
<w:LsdException Locked=“false” Priority=“32” QFormat=“true”
Name=“Intense Reference”/>
<w:LsdException Locked=“false” Priority=“33” QFormat=“true” Name=“Book Title”/>
<w:LsdException Locked=“false” Priority=“37” SemiHidden=“true”
UnhideWhenUsed=“true” Name=“Bibliography”/>
<w:LsdException Locked=“false” Priority=“39” SemiHidden=“true”
UnhideWhenUsed=“true” QFormat=“true” Name=“TOC Heading”/>
<w:LsdException Locked=“false” Priority=“41” Name=“Plain Table 1”/>
<w:LsdException Locked=“false” Priority=“42” Name=“Plain Table 2”/>
<w:LsdException Locked=“false” Priority=“43” Name=“Plain Table 3”/>
<w:LsdException Locked=“false” Priority=“44” Name=“Plain Table 4”/>
<w:LsdException Locked=“false” Priority=“45” Name=“Plain Table 5”/>
<w:LsdException Locked=“false” Priority=“40” Name=“Grid Table Light”/>
<w:LsdException Locked=“false” Priority=“46” Name=“Grid Table 1 Light”/>
<w:LsdException Locked=“false” Priority=“47” Name=“Grid Table 2”/>
<w:LsdException Locked=“false” Priority=“48” Name=“Grid Table 3”/>
<w:LsdException Locked=“false” Priority=“49” Name=“Grid Table 4”/>
<w:LsdException Locked=“false” Priority=“50” Name=“Grid Table 5 Dark”/>
<w:LsdException Locked=“false” Priority=“51” Name=“Grid Table 6 Colorful”/>
<w:LsdException Locked=“false” Priority=“52” Name=“Grid Table 7 Colorful”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“Grid Table 1 Light Accent 1”/>
<w:LsdException Locked=“false” Priority=“47” Name=“Grid Table 2 Accent 1”/>
<w:LsdException Locked=“false” Priority=“48” Name=“Grid Table 3 Accent 1”/>
<w:LsdException Locked=“false” Priority=“49” Name=“Grid Table 4 Accent 1”/>
<w:LsdException Locked=“false” Priority=“50” Name=“Grid Table 5 Dark Accent 1”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“Grid Table 6 Colorful Accent 1”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“Grid Table 7 Colorful Accent 1”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“Grid Table 1 Light Accent 2”/>
<w:LsdException Locked=“false” Priority=“47” Name=“Grid Table 2 Accent 2”/>
<w:LsdException Locked=“false” Priority=“48” Name=“Grid Table 3 Accent 2”/>
<w:LsdException Locked=“false” Priority=“49” Name=“Grid Table 4 Accent 2”/>
<w:LsdException Locked=“false” Priority=“50” Name=“Grid Table 5 Dark Accent 2”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“Grid Table 6 Colorful Accent 2”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“Grid Table 7 Colorful Accent 2”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“Grid Table 1 Light Accent 3”/>
<w:LsdException Locked=“false” Priority=“47” Name=“Grid Table 2 Accent 3”/>
<w:LsdException Locked=“false” Priority=“48” Name=“Grid Table 3 Accent 3”/>
<w:LsdException Locked=“false” Priority=“49” Name=“Grid Table 4 Accent 3”/>
<w:LsdException Locked=“false” Priority=“50” Name=“Grid Table 5 Dark Accent 3”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“Grid Table 6 Colorful Accent 3”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“Grid Table 7 Colorful Accent 3”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“Grid Table 1 Light Accent 4”/>
<w:LsdException Locked=“false” Priority=“47” Name=“Grid Table 2 Accent 4”/>
<w:LsdException Locked=“false” Priority=“48” Name=“Grid Table 3 Accent 4”/>
<w:LsdException Locked=“false” Priority=“49” Name=“Grid Table 4 Accent 4”/>
<w:LsdException Locked=“false” Priority=“50” Name=“Grid Table 5 Dark Accent 4”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“Grid Table 6 Colorful Accent 4”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“Grid Table 7 Colorful Accent 4”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“Grid Table 1 Light Accent 5”/>
<w:LsdException Locked=“false” Priority=“47” Name=“Grid Table 2 Accent 5”/>
<w:LsdException Locked=“false” Priority=“48” Name=“Grid Table 3 Accent 5”/>
<w:LsdException Locked=“false” Priority=“49” Name=“Grid Table 4 Accent 5”/>
<w:LsdException Locked=“false” Priority=“50” Name=“Grid Table 5 Dark Accent 5”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“Grid Table 6 Colorful Accent 5”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“Grid Table 7 Colorful Accent 5”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“Grid Table 1 Light Accent 6”/>
<w:LsdException Locked=“false” Priority=“47” Name=“Grid Table 2 Accent 6”/>
<w:LsdException Locked=“false” Priority=“48” Name=“Grid Table 3 Accent 6”/>
<w:LsdException Locked=“false” Priority=“49” Name=“Grid Table 4 Accent 6”/>
<w:LsdException Locked=“false” Priority=“50” Name=“Grid Table 5 Dark Accent 6”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“Grid Table 6 Colorful Accent 6”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“Grid Table 7 Colorful Accent 6”/>
<w:LsdException Locked=“false” Priority=“46” Name=“List Table 1 Light”/>
<w:LsdException Locked=“false” Priority=“47” Name=“List Table 2”/>
<w:LsdException Locked=“false” Priority=“48” Name=“List Table 3”/>
<w:LsdException Locked=“false” Priority=“49” Name=“List Table 4”/>
<w:LsdException Locked=“false” Priority=“50” Name=“List Table 5 Dark”/>
<w:LsdException Locked=“false” Priority=“51” Name=“List Table 6 Colorful”/>
<w:LsdException Locked=“false” Priority=“52” Name=“List Table 7 Colorful”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“List Table 1 Light Accent 1”/>
<w:LsdException Locked=“false” Priority=“47” Name=“List Table 2 Accent 1”/>
<w:LsdException Locked=“false” Priority=“48” Name=“List Table 3 Accent 1”/>
<w:LsdException Locked=“false” Priority=“49” Name=“List Table 4 Accent 1”/>
<w:LsdException Locked=“false” Priority=“50” Name=“List Table 5 Dark Accent 1”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“List Table 6 Colorful Accent 1”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“List Table 7 Colorful Accent 1”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“List Table 1 Light Accent 2”/>
<w:LsdException Locked=“false” Priority=“47” Name=“List Table 2 Accent 2”/>
<w:LsdException Locked=“false” Priority=“48” Name=“List Table 3 Accent 2”/>
<w:LsdException Locked=“false” Priority=“49” Name=“List Table 4 Accent 2”/>
<w:LsdException Locked=“false” Priority=“50” Name=“List Table 5 Dark Accent 2”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“List Table 6 Colorful Accent 2”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“List Table 7 Colorful Accent 2”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“List Table 1 Light Accent 3”/>
<w:LsdException Locked=“false” Priority=“47” Name=“List Table 2 Accent 3”/>
<w:LsdException Locked=“false” Priority=“48” Name=“List Table 3 Accent 3”/>
<w:LsdException Locked=“false” Priority=“49” Name=“List Table 4 Accent 3”/>
<w:LsdException Locked=“false” Priority=“50” Name=“List Table 5 Dark Accent 3”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“List Table 6 Colorful Accent 3”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“List Table 7 Colorful Accent 3”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“List Table 1 Light Accent 4”/>
<w:LsdException Locked=“false” Priority=“47” Name=“List Table 2 Accent 4”/>
<w:LsdException Locked=“false” Priority=“48” Name=“List Table 3 Accent 4”/>
<w:LsdException Locked=“false” Priority=“49” Name=“List Table 4 Accent 4”/>
<w:LsdException Locked=“false” Priority=“50” Name=“List Table 5 Dark Accent 4”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“List Table 6 Colorful Accent 4”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“List Table 7 Colorful Accent 4”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“List Table 1 Light Accent 5”/>
<w:LsdException Locked=“false” Priority=“47” Name=“List Table 2 Accent 5”/>
<w:LsdException Locked=“false” Priority=“48” Name=“List Table 3 Accent 5”/>
<w:LsdException Locked=“false” Priority=“49” Name=“List Table 4 Accent 5”/>
<w:LsdException Locked=“false” Priority=“50” Name=“List Table 5 Dark Accent 5”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“List Table 6 Colorful Accent 5”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“List Table 7 Colorful Accent 5”/>
<w:LsdException Locked=“false” Priority=“46”
Name=“List Table 1 Light Accent 6”/>
<w:LsdException Locked=“false” Priority=“47” Name=“List Table 2 Accent 6”/>
<w:LsdException Locked=“false” Priority=“48” Name=“List Table 3 Accent 6”/>
<w:LsdException Locked=“false” Priority=“49” Name=“List Table 4 Accent 6”/>
<w:LsdException Locked=“false” Priority=“50” Name=“List Table 5 Dark Accent 6”/>
<w:LsdException Locked=“false” Priority=“51”
Name=“List Table 6 Colorful Accent 6”/>
<w:LsdException Locked=“false” Priority=“52”
Name=“List Table 7 Colorful Accent 6”/>
</w:LatentStyles>
<![endif]–><!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

<![endif]–>

Hi,

Thanks for your contacting support.

I have observed that you are using PdfExtractor to convert PDF pages into JPEG format. Please note that this class provides the feature to extract Image and Text from PDF file. However in order to convert PDF pages into Image format, I would recommend you to please try using PdfConverter. Please visit the following link for more information on Convert PDF Pages to Different Image Formats (Facades)

In case you still face the same problem, please share the sample PDF file so that we can test the scenario at our end. We are sorry for your inconvenience.

Hi Codewarior

Thanks for your response. We just tried using the PDFConvertor, and we got white (blank) JPEG Images. so I have attached a sample PDF


Thanks


Hi,

Thanks for sharing the resource file.

I have tested the scenario using Aspose.Pdf for .NET 7.5.0 using PdfConverter class and I am unable to notice any issue. Resultant images are properly being generated. For your reference, I have also attached the resultant images that I have generated over my end. Please take a look.

I have used the code snippet shared over Convert PDF Pages to Different Image Formats (Facades)

PS, You may also try using JpegDevice to convert PDF pages to JPEG format. For further details, please take a look over Convert all PDF pages to JPEG Images