PNG
JPG
BMP
TIFF
SVG
ITF
Read ITF Barcodes with Java
Read Interleaved 2-of-5 (ITF) barcode in Java using server-side Aspose.BarCode for Java API
How to Read Interleaved 2-of-5 (ITF) barcode Using Java
To recognize Interleaved 2-of-5 (ITF) barcode, use Aspose.BarCode for Java API, an advance, robust, and easy-to-use barcode library for Java-based platforms. Download the latest version directly from Maven and install it within your Maven-based projects by including the following configurations in pom.xml:
Repository
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>
Dependency
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode</artifactId>
<version>version of aspose-barcode API</version>
<classifier>jdk17</classifier>
</dependency>
Steps for Scanning Interleaved 2-of-5 (ITF) barcode in Java
Aspose.BarCode allows developers to read Interleaved 2-of-5 (ITF) barcode barcodes from stream or image with few lines of code
- Create a new object of BarCodeReader class
- Set the source file path containing Interleaved 2-of-5 (ITF) barcode
- Pass the required barcode types to DecodeType as the second parameter
- Loop through the decoding results
- Get barcode text using the getCodeText method
System Requirements
Aspose APIs are supported on all major platforms and operating systems. Before executing the code sample below, please make sure that your system comply with the following requirements.
- Microsoft Windows, Linux, or any OS compatible with Java Runtime Environment for JSP/JSF and desktop applications
- Java development environment, such as JRE 1.6 or above
- Java Development version JSE2 7.0 or above
Other Supported Barcode Recognition Symbologies
Using Java, One can also read barcode of different symbologies including the following.
2D:
Linear:
Postal: