Hi,
I’m just getting used to Aspose Bar Code. I’ve created the following code and used it to read a tiff file. It isn’t working. I’ve attached the tiff in question.
Aspose.BarCodeRecognition.License lic = new Aspose.BarCodeRecognition.License();
lic.SetLicense(“Aspose.BarCode.lic”);
Image img = System.Drawing.Image.FromFile(“test.tif”);
Bitmap m = new Bitmap(img);
int totalFrame=img.GetFrameCount(FrameDimension.Page);
for (int i = 0; i < totalFrame; i++)
{
var w=img.SelectActiveFrame(FrameDimension.Page, i);
Bitmap q = new Bitmap(img);
BarCodeReader reader = new BarCodeReader(q);
while (reader.Read())
{
Console.WriteLine(reader.GetCodeText());
}
}