Hello,
Thank you!
Hi Mario,
Hi Mario,
From the specifics of ticket id BARCODJAVA-33338, this issue is pending because the compressor is not available for this image and its availability is related to another feature. Meanwhile, as a workaround, you can export it to any other file format for example bmp and then you can recognize QR code by using the latest release of Aspose.BarCode 5.6.2.0. You can download this release from here .
Furthermore, you can download the latest release of Aspose.Imaging 1.8.0 from here. In order to export tif file to any other file format. Please a look over these helping links:
http://www.aspose.com/docs/display/imagingjava/Exporting+Images+to+Bitmap+Formats
http://www.aspose.com/docs/display/imagingjava/Applying+the+License
Please try the following source code below:
[Java]
String fileName = “Reserva00038845.bmp”;
BarCodeReader reader = **new** BarCodeReader("C:\\temp\\ " + fileName, BarCodeReadType.QR);
reader.setOrientationHints(com.aspose.barcoderecognition.Orientation.Rotate90);
while (reader.read())
{
System.out .println(fileName + " codetext: " + reader.getCodeText());
}
reader.close();
Please do let me know in case of any confusion or questions.
Hi Mario,
Hi Imran,
Hello Imran,
Hi Mario,
The issues you have found earlier (filed as BARCODJAVA-33391) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as BARCODJAVA-33338) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hello, thanks for the fixes but I find another image that couldn’t be read.
Hi Mario,
Hello,
Hi Mario,
Thank you for your inquiry. I’ve tested your sample barcode images against the latest build Aspose.BarCode for Java 5.8.0. I can recognize all these QR codes except one (DOC+1±+172.124.jpg). Please take a look over the sample code:
String strBasePath = “c:/temp/”;
ArrayList strFiles = new ArrayList();
strFiles.add(strBasePath + “DOC+01-172.121.14.jpg”);
strFiles.add(strBasePath + “DOC+1-172.121.7.jpg”);
strFiles.add(strBasePath + “DOC+1-172.121.14.jpg”);
strFiles.add(strBasePath + “DOC+2-172.121.8.jpg”);
strFiles.add(strBasePath + “DOC+12±+172.145.jpg”);
strFiles.add(strBasePath + “DOC+13±+172.145.jpg”);
for (int i=0 ; i<strFiles.size() ; i++)
{
String fileName = strFiles.get(i);
BarCodeReader reader = new BarCodeReader(fileName, BarCodeReadType.QR );
while (reader.read())
{
System.out .println(fileName + " codetext: " + reader.getCodeText());
}
reader.close();
}
Results:
C:/temp/DOC+01-172.121.14.jpg codetext: McCode={LTE=183
CLI=03745549783,00907190774
SPE=20322953
EMP=20322935
BLC=BLOCO 02 - LOTE 04
UNI=412
TPO=172.121.14}
C:/temp/DOC+1-172.121.7.jpg codetext: McCode={LTE=235
CLI=83853677720,91918782768
SPE=20322999
EMP=20322969
BLC=BLOCO 04
UNI=501
TPO=172.121.7}
C:/temp/DOC+1-172.121.14.jpg codetext: McCode={LTE=266
CLI=08241073739,08556827799
SPE=20461961
EMP=20461931
BLC=BLOCO 02
UNI=1003
TPO=172.121.14}
C:/temp/DOC+2-172.121.8.jpg codetext: McCode={LTE=263
CLI=84234130710
SPE=20461961
EMP=20461931
BLC=BLOCO 02
UNI=307
TPO=172.121.8}
C:/temp/DOC+12±+172.145.jpg codetext: McCode={LTE=264
CLI=92686214791,02237587795
SPE=20461961
EMP=20461931
BLC=BLOCO 03
UNI=502
TPO=172.145}
C:/temp/DOC+13±+172.145.jpg codetext: McCode={LTE=312
CLI=09112058700,09164175731
SPE=20461961
EMP=20461931
BLC=BLOCO 04
UNI=1001
TPO=172.145}
I can also recognize the barcode image DOC+1±+172.124.jpg with orientation angle 90 whereas it is actually not rotated. I’ve logged this problem under ticket id BARCODJAVA-33440 in our issue tracking system. Your request has also been linked to this issue. We’ll let you know once a significant progress has been made. We’re sorry for your inconvenience.