Image extraction from pdf (BarCode reader 6.1.2.1)

Questions, comments and suggestions concerning VintaSoftBarcode.NET SDK.

Moderator: Alex

Image extraction from pdf (BarCode reader 6.1.2.1)

Postby paolozan » Thu Jul 26, 2012 7:28 am

Good day.
I'm trying to detect a barcode inside a pdf (1.5 version) document.
In the code fragment below, the call GetImageNames give me the exception: "Object is not found" and "Data = {System.Collections.ListDictionaryInternal}".
What's wrong ?
Thank you.

Code: Select all
try
{
  Pdf = new Vintasoft.Barcode.PdfImageViewer(NomeFile);
}
catch(Exception Ecc)
{
  Errore = Ecc.Message;
  Pdf.Dispose();
  Pdf = null;
  return null;
}

if (Pdf.PageCount == 0)
{
  Pdf.Dispose();
  Pdf = null;
  return null;
}

string [] TmpNomiImmagini;

try
{
  TmpNomiImmagini = Pdf.GetImageNames(0);
}
catch(Exception Ecc)
{
  Errore = Ecc.Message;
  Pdf.Dispose();
  Pdf = null;
  return null;
}

if (TmpNomiImmagini.Length == 0)
{
  Pdf.Dispose();
  Pdf = null;
  return null;
}
paolozan
 
Posts: 2
Joined: Tue Jun 22, 2010 7:00 am

Re: Image extraction from pdf (BarCode reader 6.1.2.1)

Postby Alex » Thu Jul 26, 2012 11:32 am

Hello,

Could you send us your PDF document for tests?

If yes, please send your file to support@vintasoft.com

Best regards, Alexander
Alex
Site Admin
 
Posts: 850
Joined: Thu Jul 10, 2008 11:21 am


Return to VintaSoftBarcode.NET SDK Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron