Skip to content

Commit 9a4ca2a

Browse files
authored
Release 23.4 (#56)
* Add useAntiAlias generate parameter * Remove useless rectangleRegion recognize parameter
1 parent 1f0d253 commit 9a4ca2a

13 files changed

Lines changed: 64 additions & 36 deletions

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![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/)
66

77
- API version: 3.0
8-
- SDK version: 23.3.0
8+
- SDK version: 23.4.0
99

1010
## Demo applications
1111

@@ -68,7 +68,7 @@ Add this dependency to your project's POM:
6868
<dependency>
6969
<groupId>com.aspose</groupId>
7070
<artifactId>aspose-barcode-cloud</artifactId>
71-
<version>23.3.0</version>
71+
<version>23.4.0</version>
7272
<scope>compile</scope>
7373
</dependency>
7474
```
@@ -83,7 +83,7 @@ mvn clean package
8383

8484
Then manually install the following JARs:
8585

86-
- `target/aspose-barcode-cloud-23.3.0.jar`
86+
- `target/aspose-barcode-cloud-23.4.0.jar`
8787
- `target/lib/*.jar`
8888

8989
## Getting Started

docs/BarcodeApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414

1515
## getBarcodeGenerate
1616

17-
> File getBarcodeGenerate(type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, noWrap, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, format)
17+
> File getBarcodeGenerate(type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, noWrap, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, useAntiAlias, format)
1818
1919
Generate barcode.
2020

@@ -89,6 +89,7 @@ Name | Type | Description | Notes
8989
**supplementData** | **String**| Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. | [optional]
9090
**supplementSpace** | **Double**| Space between main the BarCode and supplement BarCode. | [optional]
9191
**barWidthReduction** | **Double**| Bars reduction value that is used to compensate ink spread while printing. | [optional]
92+
**useAntiAlias** | **Boolean**| Indicates whether is used anti-aliasing mode to render image. Anti-aliasing mode is applied to barcode and text drawing. | [optional]
9293
**format** | **String**| Result image format. | [optional]
9394

9495
### getBarcodeGenerate return type
@@ -97,7 +98,7 @@ Name | Type | Description | Notes
9798

9899
## getBarcodeRecognize
99100

100-
> BarcodeResponseList getBarcodeRecognize(name, type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, fastScanOnly, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, ignoreEndingFillingPatternsForCTable, rectangleRegion, storage, folder)
101+
> BarcodeResponseList getBarcodeRecognize(name, type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, fastScanOnly, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, ignoreEndingFillingPatternsForCTable, storage, folder)
101102
102103
Recognize barcode from a file on server.
103104

@@ -142,8 +143,8 @@ Name | Type | Description | Notes
142143
**checksumValidation** | **String**| Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible. Checksum never used: Codabar Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN Checksum always used: Rest symbologies | [optional] [enum: Default, On, Off]
143144
**detectEncoding** | **Boolean**| A flag which force engine to detect codetext encoding for Unicode. | [optional]
144145
**preset** | **String**| Preset allows to configure recognition quality and speed manually. You can quickly set up Preset by embedded presets: HighPerformance, NormalQuality, HighQuality, MaxBarCodes or you can manually configure separate options. Default value of Preset is NormalQuality. | [optional] [enum: HighPerformance, NormalQuality, HighQualityDetection, MaxQualityDetection, HighQuality, MaxBarCodes]
145-
**rectX** | **Integer**| Set X for area for recognition. | [optional]
146-
**rectY** | **Integer**| Set Y for area for recognition. | [optional]
146+
**rectX** | **Integer**| Set X of top left corner of area for recognition. | [optional]
147+
**rectY** | **Integer**| Set Y of top left corner of area for recognition. | [optional]
147148
**rectWidth** | **Integer**| Set Width of area for recognition. | [optional]
148149
**rectHeight** | **Integer**| Set Height of area for recognition. | [optional]
149150
**stripFNC** | **Boolean**| Value indicating whether FNC symbol strip must be done. | [optional]
@@ -172,7 +173,6 @@ Name | Type | Description | Notes
172173
**readTinyBarcodes** | **Boolean**| Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
173174
**australianPostEncodingTable** | **String**| Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional] [enum: CTable, NTable, Other]
174175
**ignoreEndingFillingPatternsForCTable** | **Boolean**| The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequence \&quot;333\&quot; of filling patterns is decoded as letter \&quot;z\&quot;. | [optional]
175-
**rectangleRegion** | **String**| | [optional]
176176
**storage** | **String**| The image storage. | [optional]
177177
**folder** | **String**| The image folder. | [optional]
178178

@@ -182,7 +182,7 @@ Name | Type | Description | Notes
182182

183183
## postBarcodeRecognizeFromUrlOrContent
184184

185-
> BarcodeResponseList postBarcodeRecognizeFromUrlOrContent(type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, fastScanOnly, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, ignoreEndingFillingPatternsForCTable, rectangleRegion, url, image)
185+
> BarcodeResponseList postBarcodeRecognizeFromUrlOrContent(type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, fastScanOnly, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, ignoreEndingFillingPatternsForCTable, url, image)
186186
187187
Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image with content-type \&quot;application/octet-stream\&quot;. An image can also be passed as a form field.
188188

@@ -225,8 +225,8 @@ Name | Type | Description | Notes
225225
**checksumValidation** | **String**| Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible. Checksum never used: Codabar Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN Checksum always used: Rest symbologies | [optional] [enum: Default, On, Off]
226226
**detectEncoding** | **Boolean**| A flag which force engine to detect codetext encoding for Unicode. | [optional]
227227
**preset** | **String**| Preset allows to configure recognition quality and speed manually. You can quickly set up Preset by embedded presets: HighPerformance, NormalQuality, HighQuality, MaxBarCodes or you can manually configure separate options. Default value of Preset is NormalQuality. | [optional] [enum: HighPerformance, NormalQuality, HighQualityDetection, MaxQualityDetection, HighQuality, MaxBarCodes]
228-
**rectX** | **Integer**| Set X for area for recognition. | [optional]
229-
**rectY** | **Integer**| Set Y for area for recognition. | [optional]
228+
**rectX** | **Integer**| Set X of top left corner of area for recognition. | [optional]
229+
**rectY** | **Integer**| Set Y of top left corner of area for recognition. | [optional]
230230
**rectWidth** | **Integer**| Set Width of area for recognition. | [optional]
231231
**rectHeight** | **Integer**| Set Height of area for recognition. | [optional]
232232
**stripFNC** | **Boolean**| Value indicating whether FNC symbol strip must be done. | [optional]
@@ -255,7 +255,6 @@ Name | Type | Description | Notes
255255
**readTinyBarcodes** | **Boolean**| Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
256256
**australianPostEncodingTable** | **String**| Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional] [enum: CTable, NTable, Other]
257257
**ignoreEndingFillingPatternsForCTable** | **Boolean**| The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequence \&quot;333\&quot; of filling patterns is decoded as letter \&quot;z\&quot;. | [optional]
258-
**rectangleRegion** | **String**| | [optional]
259258
**url** | **String**| The image file url. | [optional]
260259
**image** | **File**| Image data | [optional]
261260

@@ -314,7 +313,7 @@ Name | Type | Description | Notes
314313

315314
## putBarcodeGenerateFile
316315

317-
> ResultImageInfo putBarcodeGenerateFile(name, type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, noWrap, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, storage, folder, format)
316+
> ResultImageInfo putBarcodeGenerateFile(name, type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, noWrap, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, useAntiAlias, storage, folder, format)
318317
319318
Generate barcode and save on server (from query params or from file with json or xml content)
320319

@@ -391,6 +390,7 @@ Name | Type | Description | Notes
391390
**supplementData** | **String**| Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. | [optional]
392391
**supplementSpace** | **Double**| Space between main the BarCode and supplement BarCode. | [optional]
393392
**barWidthReduction** | **Double**| Bars reduction value that is used to compensate ink spread while printing. | [optional]
393+
**useAntiAlias** | **Boolean**| Indicates whether is used anti-aliasing mode to render image. Anti-aliasing mode is applied to barcode and text drawing. | [optional]
394394
**storage** | **String**| Image&#39;s storage. | [optional]
395395
**folder** | **String**| Image&#39;s folder. | [optional]
396396
**format** | **String**| The image format. | [optional]

docs/GeneratorParams.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Name | Type | Description | Notes
4242
**supplementData** | **String** | Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. | [optional]
4343
**supplementSpace** | **Double** | Space between main the BarCode and supplement BarCode. | [optional]
4444
**barWidthReduction** | **Double** | Bars reduction value that is used to compensate ink spread while printing. | [optional]
45+
**useAntiAlias** | **Boolean** | Indicates whether is used anti-aliasing mode to render image. Anti-aliasing mode is applied to barcode and text drawing. | [optional]
4546
**australianPost** | [**AustralianPostParams**](AustralianPostParams.md) | AustralianPost params. | [optional]
4647
**aztec** | [**AztecParams**](AztecParams.md) | Aztec params. | [optional]
4748
**codabar** | [**CodabarParams**](CodabarParams.md) | Codabar params. | [optional]

docs/ReaderParams.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
88
**checksumValidation** | [**ChecksumValidation**](ChecksumValidation.md) | Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible. Checksum never used: Codabar Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN Checksum always used: Rest symbologies | [optional]
99
**detectEncoding** | **Boolean** | A flag which force engine to detect codetext encoding for Unicode. | [optional]
1010
**preset** | [**PresetType**](PresetType.md) | Preset allows to configure recognition quality and speed manually. You can quickly set up Preset by embedded presets: HighPerformance, NormalQuality, HighQuality, MaxBarCodes or you can manually configure separate options. Default value of Preset is NormalQuality. | [optional]
11-
**rectX** | **Integer** | Set X for area for recognition. | [optional]
12-
**rectY** | **Integer** | Set Y for area for recognition. | [optional]
11+
**rectX** | **Integer** | Set X of top left corner of area for recognition. | [optional]
12+
**rectY** | **Integer** | Set Y of top left corner of area for recognition. | [optional]
1313
**rectWidth** | **Integer** | Set Width of area for recognition. | [optional]
1414
**rectHeight** | **Integer** | Set Height of area for recognition. | [optional]
1515
**stripFNC** | **Boolean** | Value indicating whether FNC symbol strip must be done. | [optional]

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>aspose-barcode-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>aspose-barcode-cloud</name>
8-
<version>23.3.0</version>
8+
<version>23.4.0</version>
99
<url>https://www.aspose.cloud</url>
1010
<description>Aspose.BarCode Cloud SDK for Java</description>
1111
<scm>

src/main/java/com/aspose/barcode/cloud/ApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
public class ApiClient {
5454

5555
public final String apiVersion = "v3.0";
56-
public final String clientVersion = "23.3.0";
56+
public final String clientVersion = "23.4.0";
5757
private String baseUrl = "https://api.aspose.cloud";
5858
private String clientId;
5959
private String clientSecret;
@@ -99,7 +99,7 @@ protected ApiClient() {
9999
json = new JSON();
100100

101101
// Set default User-Agent.
102-
setUserAgent("Swagger-Codegen/23.3.0/java");
102+
setUserAgent("Swagger-Codegen/23.4.0/java");
103103

104104
addDefaultHeader("x-aspose-client", "java sdk");
105105
addDefaultHeader("x-aspose-client-version", clientVersion);

src/main/java/com/aspose/barcode/cloud/api/BarcodeApi.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ protected com.squareup.okhttp.Call getBarcodeGenerateCall(
160160
if (request.barWidthReduction != null)
161161
queryParams.addAll(
162162
apiClient.parameterToPair("BarWidthReduction", request.barWidthReduction));
163+
if (request.useAntiAlias != null)
164+
queryParams.addAll(apiClient.parameterToPair("UseAntiAlias", request.useAntiAlias));
163165
if (request.format != null)
164166
queryParams.addAll(apiClient.parameterToPair("format", request.format));
165167

@@ -436,9 +438,6 @@ protected com.squareup.okhttp.Call getBarcodeRecognizeCall(
436438
apiClient.parameterToPair(
437439
"IgnoreEndingFillingPatternsForCTable",
438440
request.ignoreEndingFillingPatternsForCTable));
439-
if (request.rectangleRegion != null)
440-
queryParams.addAll(
441-
apiClient.parameterToPair("RectangleRegion", request.rectangleRegion));
442441
if (request.storage != null)
443442
queryParams.addAll(apiClient.parameterToPair("storage", request.storage));
444443
if (request.folder != null)
@@ -710,9 +709,6 @@ protected com.squareup.okhttp.Call postBarcodeRecognizeFromUrlOrContentCall(
710709
apiClient.parameterToPair(
711710
"IgnoreEndingFillingPatternsForCTable",
712711
request.ignoreEndingFillingPatternsForCTable));
713-
if (request.rectangleRegion != null)
714-
queryParams.addAll(
715-
apiClient.parameterToPair("RectangleRegion", request.rectangleRegion));
716712
if (request.url != null) queryParams.addAll(apiClient.parameterToPair("url", request.url));
717713

718714
Map<String, String> headerParams = new HashMap<>();
@@ -1110,6 +1106,8 @@ protected com.squareup.okhttp.Call putBarcodeGenerateFileCall(
11101106
if (request.barWidthReduction != null)
11111107
queryParams.addAll(
11121108
apiClient.parameterToPair("BarWidthReduction", request.barWidthReduction));
1109+
if (request.useAntiAlias != null)
1110+
queryParams.addAll(apiClient.parameterToPair("UseAntiAlias", request.useAntiAlias));
11131111
if (request.storage != null)
11141112
queryParams.addAll(apiClient.parameterToPair("storage", request.storage));
11151113
if (request.folder != null)

0 commit comments

Comments
 (0)