Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 32 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Freleases.aspose.cloud%2Fjava%2Frepo%2Fcom%2Faspose%2Faspose-barcode-cloud%2Fmaven-metadata.xml)](https://releases.aspose.cloud/java/repo/com/aspose/aspose-barcode-cloud/)

- API version: 4.0
- SDK version: 26.5.0
- SDK version: 26.6.0

## SDK and API Version Compatibility:

Expand Down Expand Up @@ -77,7 +77,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode-cloud</artifactId>
<version>26.5.0</version>
<version>26.6.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -92,7 +92,7 @@ mvn clean package

Then manually install the following JARs:

- `target/aspose-barcode-cloud-26.5.0.jar`
- `target/aspose-barcode-cloud-26.6.0.jar`
- `target/lib/*.jar`

## Getting Started
Expand All @@ -109,6 +109,9 @@ import com.aspose.barcode.cloud.api.ScanApi;
import com.aspose.barcode.cloud.model.BarcodeImageFormat;
import com.aspose.barcode.cloud.model.BarcodeResponseList;
import com.aspose.barcode.cloud.model.EncodeBarcodeType;
import com.aspose.barcode.cloud.model.QREncodeMode;
import com.aspose.barcode.cloud.model.QRErrorLevel;
import com.aspose.barcode.cloud.model.QRVersion;
import com.aspose.barcode.cloud.requests.GenerateRequestWrapper;
import com.aspose.barcode.cloud.requests.ScanMultipartRequestWrapper;

Expand Down Expand Up @@ -144,6 +147,10 @@ public class Example {
String text = "Aspose.BarCode for Cloud Sample";
GenerateRequestWrapper request = new GenerateRequestWrapper(type, text);
request.imageFormat = BarcodeImageFormat.JPEG;
request.qrEncodeMode = QREncodeMode.AUTO;
request.qrErrorLevel = QRErrorLevel.LEVEL_M;
request.qrVersion = QRVersion.AUTO;
request.qrAspectRatio = 0.75f;

return api.generate(request);
}
Expand Down Expand Up @@ -177,15 +184,15 @@ All URIs are relative to *<https://api.aspose.cloud/v4.0>*

Class | Method | HTTP request | Description
----- | ------ | ------------ | -----------
*GenerateApi* | [**generate**](docs/GenerateApi.md#generate) | **GET** /barcode/generate/{barcodeType} | Generate barcode using GET request with parameters in route and query string.
*GenerateApi* | [**generateBody**](docs/GenerateApi.md#generateBody) | **POST** /barcode/generate-body | Generate barcode using POST request with parameters in body in json or xml format.
*GenerateApi* | [**generateMultipart**](docs/GenerateApi.md#generateMultipart) | **POST** /barcode/generate-multipart | Generate barcode using POST request with parameters in multipart form.
*RecognizeApi* | [**recognize**](docs/RecognizeApi.md#recognize) | **GET** /barcode/recognize | Recognize barcode from file on server in the Internet using GET requests with parameter in query string. For recognizing files from your hard drive use &#x60;recognize-body&#x60; or &#x60;recognize-multipart&#x60; endpoints instead.
*RecognizeApi* | [**recognizeBase64**](docs/RecognizeApi.md#recognizeBase64) | **POST** /barcode/recognize-body | Recognize barcode from file in request body using POST requests with parameters in body in json or xml format.
*RecognizeApi* | [**recognizeMultipart**](docs/RecognizeApi.md#recognizeMultipart) | **POST** /barcode/recognize-multipart | Recognize barcode from file in request body using POST requests with parameters in multipart form.
*ScanApi* | [**scan**](docs/ScanApi.md#scan) | **GET** /barcode/scan | Scan barcode from file on server in the Internet using GET requests with parameter in query string. For scaning files from your hard drive use &#x60;scan-body&#x60; or &#x60;scan-multipart&#x60; endpoints instead.
*ScanApi* | [**scanBase64**](docs/ScanApi.md#scanBase64) | **POST** /barcode/scan-body | Scan barcode from file in request body using POST requests with parameter in body in json or xml format.
*ScanApi* | [**scanMultipart**](docs/ScanApi.md#scanMultipart) | **POST** /barcode/scan-multipart | Scan barcode from file in request body using POST requests with parameter in multipart form.
*GenerateApi* | [**generate**](docs/GenerateApi.md#generate) | **GET** /barcode/generate/{barcodeType} | Generate a barcode using a GET request with parameters in the route and query string.
*GenerateApi* | [**generateBody**](docs/GenerateApi.md#generateBody) | **POST** /barcode/generate-body | Generate a barcode using a POST request with parameters in the request body in JSON or XML format.
*GenerateApi* | [**generateMultipart**](docs/GenerateApi.md#generateMultipart) | **POST** /barcode/generate-multipart | Generate a barcode using a POST request with parameters in a multipart form.
*RecognizeApi* | [**recognize**](docs/RecognizeApi.md#recognize) | **GET** /barcode/recognize | Recognize a barcode from a file on an Internet server using a GET request with a query string parameter. For recognizing files from your hard drive, use &#x60;recognize-body&#x60; or &#x60;recognize-multipart&#x60; endpoints instead.
*RecognizeApi* | [**recognizeBase64**](docs/RecognizeApi.md#recognizeBase64) | **POST** /barcode/recognize-body | Recognize a barcode from a file in the request body using a POST request with JSON or XML body parameters.
*RecognizeApi* | [**recognizeMultipart**](docs/RecognizeApi.md#recognizeMultipart) | **POST** /barcode/recognize-multipart | Recognize a barcode from a file in the request body using a POST request with multipart form parameters.
*ScanApi* | [**scan**](docs/ScanApi.md#scan) | **GET** /barcode/scan | Scan a barcode from a file on an Internet server using a GET request with a query string parameter. For scanning files from your hard drive, use &#x60;scan-body&#x60; or &#x60;scan-multipart&#x60; endpoints instead.
*ScanApi* | [**scanBase64**](docs/ScanApi.md#scanBase64) | **POST** /barcode/scan-body | Scan a barcode from a file in the request body using a POST request with a JSON or XML body parameter.
*ScanApi* | [**scanMultipart**](docs/ScanApi.md#scanMultipart) | **POST** /barcode/scan-multipart | Scan a barcode from a file in the request body using a POST request with a multipart form parameter.

## Documentation for Models

Expand All @@ -195,16 +202,29 @@ Class | Method | HTTP request | Description
- [BarcodeImageParams](docs/BarcodeImageParams.md)
- [BarcodeResponse](docs/BarcodeResponse.md)
- [BarcodeResponseList](docs/BarcodeResponseList.md)
- [Code128EncodeMode](docs/Code128EncodeMode.md)
- [Code128Params](docs/Code128Params.md)
- [CodeLocation](docs/CodeLocation.md)
- [DecodeBarcodeType](docs/DecodeBarcodeType.md)
- [ECIEncodings](docs/ECIEncodings.md)
- [EncodeBarcodeType](docs/EncodeBarcodeType.md)
- [EncodeData](docs/EncodeData.md)
- [EncodeDataType](docs/EncodeDataType.md)
- [GenerateParams](docs/GenerateParams.md)
- [GraphicsUnit](docs/GraphicsUnit.md)
- [MacroCharacter](docs/MacroCharacter.md)
- [MicroQRVersion](docs/MicroQRVersion.md)
- [Pdf417EncodeMode](docs/Pdf417EncodeMode.md)
- [Pdf417ErrorLevel](docs/Pdf417ErrorLevel.md)
- [Pdf417Params](docs/Pdf417Params.md)
- [QREncodeMode](docs/QREncodeMode.md)
- [QRErrorLevel](docs/QRErrorLevel.md)
- [QRVersion](docs/QRVersion.md)
- [QrParams](docs/QrParams.md)
- [RecognitionImageKind](docs/RecognitionImageKind.md)
- [RecognitionMode](docs/RecognitionMode.md)
- [RecognizeBase64Request](docs/RecognizeBase64Request.md)
- [RectMicroQRVersion](docs/RectMicroQRVersion.md)
- [RegionPoint](docs/RegionPoint.md)
- [ScanBase64Request](docs/ScanBase64Request.md)

Expand Down
14 changes: 7 additions & 7 deletions docs/BarcodeImageParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

# BarcodeImageParams

Barcode image optional parameters
Optional barcode image parameters.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**imageFormat** | **BarcodeImageFormat** | | [optional] |
|**textLocation** | **CodeLocation** | | [optional] |
|**foregroundColor** | **String** | Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] |
|**backgroundColor** | **String** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] |
|**foregroundColor** | **String** | Specify the display color for bars and content. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value starting with #. For example: AliceBlue or #FF000000. Default value: Black. | [optional] |
|**backgroundColor** | **String** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value starting with #. For example: AliceBlue or #FF000000. Default value: White. | [optional] |
|**units** | **GraphicsUnit** | | [optional] |
|**resolution** | **Float** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional] |
|**imageHeight** | **Float** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] |
|**imageWidth** | **Float** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional] |
|**rotationAngle** | **Integer** | BarCode image rotation angle, measured in degree, e.g. RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional] |
|**resolution** | **Float** | Resolution of the barcode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is a dot. | [optional] |
|**imageHeight** | **Float** | Height of the barcode image in the specified units. Default units: pixels. Decimal separator is a dot. | [optional] |
|**imageWidth** | **Float** | Width of the barcode image in the specified units. Default units: pixels. Decimal separator is a dot. | [optional] |
|**rotationAngle** | **Integer** | Barcode image rotation angle, measured in degrees. For example, RotationAngle &#x3D; 0 or RotationAngle &#x3D; 360 means no rotation. If RotationAngle is not equal to 90, 180, 270, or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional] |



6 changes: 3 additions & 3 deletions docs/BarcodeResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

# BarcodeResponse

Represents information about barcode.
Represents information about a barcode.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**barcodeValue** | **String** | Barcode data. | [optional] |
|**type** | **String** | Type of the barcode. | [optional] |
|**region** | [**List&lt;RegionPoint&gt;**](RegionPoint.md) | Region with barcode. | [optional] |
|**checksum** | **String** | Checksum of barcode. | [optional] |
|**region** | [**List&lt;RegionPoint&gt;**](RegionPoint.md) | Region with the barcode. | [optional] |
|**checksum** | **String** | Checksum of the barcode. | [optional] |



4 changes: 2 additions & 2 deletions docs/BarcodeResponseList.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# BarcodeResponseList

Represents information about barcode list.
Represents information about a barcode list.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**barcodes** | [**List&lt;BarcodeResponse&gt;**](BarcodeResponse.md) | List of barcodes which are present in image. | |
|**barcodes** | [**List&lt;BarcodeResponse&gt;**](BarcodeResponse.md) | List of barcodes that are present in the image. | |



23 changes: 23 additions & 0 deletions docs/Code128EncodeMode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@


# Code128EncodeMode

## Enum


* `AUTO` (value: `"Auto"`)

* `CODE_A` (value: `"CodeA"`)

* `CODE_B` (value: `"CodeB"`)

* `CODE_AB` (value: `"CodeAB"`)

* `CODE_C` (value: `"CodeC"`)

* `CODE_AC` (value: `"CodeAC"`)

* `CODE_BC` (value: `"CodeBC"`)



14 changes: 14 additions & 0 deletions docs/Code128Params.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# Code128Params

Optional Code128 barcode generation parameters.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**code128EncodeMode** | **Code128EncodeMode** | | [optional] |



77 changes: 77 additions & 0 deletions docs/ECIEncodings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@


# ECIEncodings

## Enum


* `NONE` (value: `"NONE"`)

* `ISO_8859_1` (value: `"ISO_8859_1"`)

* `ISO_8859_2` (value: `"ISO_8859_2"`)

* `ISO_8859_3` (value: `"ISO_8859_3"`)

* `ISO_8859_4` (value: `"ISO_8859_4"`)

* `ISO_8859_5` (value: `"ISO_8859_5"`)

* `ISO_8859_6` (value: `"ISO_8859_6"`)

* `ISO_8859_7` (value: `"ISO_8859_7"`)

* `ISO_8859_8` (value: `"ISO_8859_8"`)

* `ISO_8859_9` (value: `"ISO_8859_9"`)

* `ISO_8859_10` (value: `"ISO_8859_10"`)

* `ISO_8859_11` (value: `"ISO_8859_11"`)

* `ISO_8859_13` (value: `"ISO_8859_13"`)

* `ISO_8859_14` (value: `"ISO_8859_14"`)

* `ISO_8859_15` (value: `"ISO_8859_15"`)

* `ISO_8859_16` (value: `"ISO_8859_16"`)

* `SHIFT_JIS` (value: `"Shift_JIS"`)

* `WIN1250` (value: `"Win1250"`)

* `WIN1251` (value: `"Win1251"`)

* `WIN1252` (value: `"Win1252"`)

* `WIN1256` (value: `"Win1256"`)

* `UTF16_BE` (value: `"UTF16BE"`)

* `UTF8` (value: `"UTF8"`)

* `US_ASCII` (value: `"US_ASCII"`)

* `BIG5` (value: `"Big5"`)

* `GB2312` (value: `"GB2312"`)

* `EUC_KR` (value: `"EUC_KR"`)

* `GBK` (value: `"GBK"`)

* `GB18030` (value: `"GB18030"`)

* `UTF16_LE` (value: `"UTF16LE"`)

* `UTF32_BE` (value: `"UTF32BE"`)

* `UTF32_LE` (value: `"UTF32LE"`)

* `INVARIANT` (value: `"INVARIANT"`)

* `BINARY` (value: `"BINARY"`)



4 changes: 2 additions & 2 deletions docs/EncodeData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

# EncodeData

Data to encode in barcode
Data to encode in a barcode.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**dataType** | **EncodeDataType** | | [optional] |
|**data** | **String** | String represents data to encode | |
|**data** | **String** | String that represents the data to encode. | |



Loading