Image extraction from pdf (BarCode reader 6.1.2.1)

Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.

Moderator: Alex

Post Reply
paolozan
Posts: 2
Joined: Tue Jun 22, 2010 10:00 am

Image extraction from pdf (BarCode reader 6.1.2.1)

Post by paolozan » Thu Jul 26, 2012 10: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;
}

Alex
Site Admin
Posts: 1461
Joined: Thu Jul 10, 2008 2:21 pm

Re: Image extraction from pdf (BarCode reader 6.1.2.1)

Post by Alex » Thu Jul 26, 2012 2:32 pm

Hello,

Could you send us your PDF document for tests?

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

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests