Skip to content

Commit 68a2ed5

Browse files
authored
Release 20.8 (#5)
* Release 20.8
1 parent 9fda6c6 commit 68a2ed5

9 files changed

Lines changed: 1988 additions & 1863 deletions

File tree

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ cover:
2222
lint:
2323
npm run lint
2424

25-
.PHONY: update_packages
26-
update_packages:
25+
.PHONY: update_modules
26+
update_modules:
27+
ncu -u
2728
npm update
2829
npm outdated
2930

@@ -37,5 +38,6 @@ ci:
3738
npm ci
3839

3940
.PHONY: publish
40-
publish: format update_packages ci check_git test
41+
publish: format update_modules ci check_git test
4142
npm publish
43+
npm logout

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aspose.BarCode Cloud SDK for Node.js
22

33
+ API version: 3.0
4-
+ Package version: 20.6.0
4+
+ Package version: 20.8.0
55

66
Aspose.BarCode for Cloud is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
77

docs/index.md

Lines changed: 49 additions & 49 deletions
Large diffs are not rendered by default.

docs/models.md

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,9 @@ enum DataMatrixEncodeMode {
393393
Full = 'Full',
394394
Custom = 'Custom',
395395
C40 = 'C40',
396-
Text = 'Text'
396+
Text = 'Text',
397+
EDIFACT = 'EDIFACT',
398+
ANSIX12 = 'ANSIX12'
397399
}
398400
```
399401

@@ -960,7 +962,7 @@ interface GeneratorParams {
960962
wideNarrowRatio?: number;
961963

962964
/**
963-
* Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect.
965+
* Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingaporePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect.
964966
*/
965967
validateText?: boolean;
966968

@@ -1043,6 +1045,11 @@ interface GeneratorParams {
10431045
* QR params.
10441046
*/
10451047
QR?: QrParams;
1048+
1049+
/**
1050+
* PatchCode params.
1051+
*/
1052+
patchCode?: PatchCodeParams;
10461053
}
10471054
```
10481055

@@ -1204,6 +1211,39 @@ interface Padding {
12041211
}
12051212
```
12061213

1214+
## PatchCodeParams
1215+
1216+
PatchCode parameters.
1217+
1218+
```ts
1219+
interface PatchCodeParams {
1220+
1221+
/**
1222+
* Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode.
1223+
*/
1224+
extraBarcodeText?: string;
1225+
1226+
/**
1227+
* PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders. Default value: PatchFormat.PatchOnly
1228+
*/
1229+
patchFormat?: PatchFormat;
1230+
}
1231+
```
1232+
1233+
## PatchFormat
1234+
1235+
1236+
1237+
```ts
1238+
enum PatchFormat {
1239+
PatchOnly = 'PatchOnly',
1240+
A4 = 'A4',
1241+
A4LANDSCAPE = 'A4_LANDSCAPE',
1242+
USLetter = 'US_Letter',
1243+
USLetterLANDSCAPE = 'US_Letter_LANDSCAPE'
1244+
}
1245+
```
1246+
12071247
## Pdf417CompactionMode
12081248

12091249

@@ -1594,22 +1634,22 @@ interface ReaderParams {
15941634
allowWhiteSpotsRemoving?: boolean;
15951635

15961636
/**
1597-
* Sets threshold for detected regions that may contain barcodes. Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time.
1637+
* Sets threshold for detected regions that may contain barcodes. Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time.
15981638
*/
15991639
regionLikelihoodThresholdPercent?: number;
16001640

16011641
/**
1602-
* Scan window sizes in pixels. Allowed sizes are 10, 15, 20, 25, 30. Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes. Combining of several window sizes can improve detection quality.
1642+
* Scan window sizes in pixels. Allowed sizes are 10, 15, 20, 25, 30. Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes. Combining of several window sizes can improve detection quality.
16031643
*/
16041644
scanWindowSizes?: Array<number>;
16051645

16061646
/**
1607-
* Similarity coefficient depends on how homogeneous barcodes are. Use high value for for clear barcodes. Use low values to detect barcodes that ara partly damaged or not lighten evenly. Similarity coefficient must be between [0.5, 0.9]
1647+
* Similarity coefficient depends on how homogeneous barcodes are. Use high value for for clear barcodes. Use low values to detect barcodes that ara partly damaged or not lighten evenly. Similarity coefficient must be between [0.5, 0.9]
16081648
*/
16091649
similarity?: number;
16101650

16111651
/**
1612-
* Allows detector to skip search for diagonal barcodes. Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise. Enabling of diagonal search leads to a bigger detection time.
1652+
* Allows detector to skip search for diagonal barcodes. Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise. Enabling of diagonal search leads to a bigger detection time.
16131653
*/
16141654
skipDiagonalSearch?: boolean;
16151655

0 commit comments

Comments
 (0)