From 8d0276b3799df26782ae48aadd9389e73ac5d68d Mon Sep 17 00:00:00 2001 From: Denis Averin <59285247+Denis-Averin@users.noreply.github.com> Date: Wed, 30 Aug 2023 09:20:38 +0600 Subject: [PATCH] Release 23.8 (#58) * Added AllowAdditionalRestorations flag to reader params * Added DataMatrixVersion enum and DataMatrixVersion param into DataMatrixParams * Improved documentation --------- Co-authored-by: Ivan Kamkin <234-Ivan.Kamkin@users.noreply.git.saltov.dynabic.com> --- README.md | 3 +- docs/Api/BarcodeApi.md | 12 +- docs/Model/AustralianPostParams.md | 2 + docs/Model/AutoSizeMode.md | 9 +- docs/Model/AvailableGraphicsUnit.md | 10 +- docs/Model/AztecParams.md | 2 + docs/Model/AztecSymbolMode.md | 10 +- docs/Model/BarcodeResponse.md | 2 + docs/Model/BarcodeResponseList.md | 2 + docs/Model/BorderDashStyle.md | 11 +- docs/Model/CaptionParams.md | 2 + docs/Model/ChecksumValidation.md | 9 +- docs/Model/CodabarChecksumMode.md | 8 +- docs/Model/CodabarParams.md | 2 + docs/Model/CodabarSymbol.md | 10 +- docs/Model/CodablockParams.md | 2 + docs/Model/Code128Emulation.md | 10 +- docs/Model/Code128EncodeMode.md | 13 +- docs/Model/Code128Params.md | 2 + docs/Model/Code16KParams.md | 2 + docs/Model/CodeLocation.md | 9 +- docs/Model/CouponParams.md | 2 + .../CustomerInformationInterpretingType.md | 9 +- docs/Model/DataBarParams.md | 2 + docs/Model/DataMatrixEccType.md | 13 +- docs/Model/DataMatrixEncodeMode.md | 15 +- docs/Model/DataMatrixParams.md | 3 + docs/Model/DataMatrixVersion.md | 80 ++++ docs/Model/DecodeBarcodeType.md | 87 +++- docs/Model/DiscUsage.md | 2 + docs/Model/DotCodeEncodeMode.md | 9 +- docs/Model/DotCodeParams.md | 2 + docs/Model/ECIEncodings.md | 33 +- docs/Model/EnableChecksum.md | 9 +- docs/Model/EncodeBarcodeType.md | 76 +++- docs/Model/Error.md | 2 + docs/Model/ErrorDetails.md | 2 + docs/Model/FileVersions.md | 2 + docs/Model/FilesList.md | 2 + docs/Model/FilesUploadResult.md | 2 + docs/Model/FontMode.md | 8 +- docs/Model/FontParams.md | 2 + docs/Model/FontStyle.md | 11 +- docs/Model/GeneratorParams.md | 2 + docs/Model/GeneratorParamsList.md | 2 + docs/Model/HanXinEncodeMode.md | 12 +- docs/Model/HanXinErrorLevel.md | 10 +- docs/Model/HanXinParams.md | 2 + docs/Model/HanXinVersion.md | 91 +++- docs/Model/ITF14BorderType.md | 11 +- docs/Model/ITFParams.md | 2 + docs/Model/MacroCharacter.md | 9 +- docs/Model/MaxiCodeEncodeMode.md | 9 +- docs/Model/MaxiCodeMode.md | 11 +- docs/Model/MaxiCodeParams.md | 2 + docs/Model/ObjectExist.md | 2 + docs/Model/Padding.md | 2 + docs/Model/PatchCodeParams.md | 2 + docs/Model/PatchFormat.md | 11 +- docs/Model/Pdf417CompactionMode.md | 10 +- docs/Model/Pdf417ErrorLevel.md | 15 +- docs/Model/Pdf417MacroTerminator.md | 9 +- docs/Model/Pdf417Params.md | 2 + docs/Model/PostalParams.md | 2 + docs/Model/PresetType.md | 12 +- docs/Model/QREncodeMode.md | 12 +- docs/Model/QREncodeType.md | 9 +- docs/Model/QRErrorLevel.md | 10 +- docs/Model/QRVersion.md | 51 ++- docs/Model/QrParams.md | 2 + docs/Model/ReaderParams.md | 3 + docs/Model/RegionPoint.md | 2 + docs/Model/ResultImageInfo.md | 2 + docs/Model/StorageExist.md | 2 + docs/Model/StorageFile.md | 2 + docs/Model/StructuredAppend.md | 2 + docs/Model/TextAlignment.md | 9 +- scripts/add-deprecation-warnings.bash | 0 src/Aspose/BarCode/BarcodeApi.php | 20 + src/Aspose/BarCode/Configuration.php | 2 +- src/Aspose/BarCode/Model/DataMatrixParams.php | 40 +- .../BarCode/Model/DataMatrixVersion.php | 401 ++++++++++++++++++ src/Aspose/BarCode/Model/ReaderParams.php | 30 ++ .../Requests/GetBarcodeRecognizeRequest.php | 9 +- ...arcodeRecognizeFromUrlOrContentRequest.php | 9 +- 85 files changed, 1228 insertions(+), 124 deletions(-) create mode 100644 docs/Model/DataMatrixVersion.md mode change 100644 => 100755 scripts/add-deprecation-warnings.bash create mode 100644 src/Aspose/BarCode/Model/DataMatrixVersion.php diff --git a/README.md b/README.md index a307540..86c77a5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Supported PHP Versions](https://img.shields.io/packagist/dependency-v/aspose/barcode-cloud-php/php)](https://packagist.org/packages/aspose/barcode-cloud-php) - API version: 3.0 -- Package version: 23.7.1 +- Package version: 23.8.0 - Supported PHP versions: ">=7.4 || >=8.0" ## Demo applications @@ -139,6 +139,7 @@ Class | Method | HTTP request | Description - [DataMatrixEccType](docs/Model/DataMatrixEccType.md) - [DataMatrixEncodeMode](docs/Model/DataMatrixEncodeMode.md) - [DataMatrixParams](docs/Model/DataMatrixParams.md) +- [DataMatrixVersion](docs/Model/DataMatrixVersion.md) - [DecodeBarcodeType](docs/Model/DecodeBarcodeType.md) - [DiscUsage](docs/Model/DiscUsage.md) - [DotCodeEncodeMode](docs/Model/DotCodeEncodeMode.md) diff --git a/docs/Api/BarcodeApi.md b/docs/Api/BarcodeApi.md index 6200d27..b4506aa 100644 --- a/docs/Api/BarcodeApi.md +++ b/docs/Api/BarcodeApi.md @@ -135,7 +135,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getBarcodeRecognize** -> \Aspose\BarCode\Model\BarcodeResponseList getBarcodeRecognize($name, $type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $storage, $folder) +> \Aspose\BarCode\Model\BarcodeResponseList getBarcodeRecognize($name, $type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $allow_additional_restorations, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $storage, $folder) Recognize barcode from a file on server. @@ -181,6 +181,7 @@ $allow_salt_and_pepper_filtering = true; // bool | Allows engine to recognize ba $allow_white_spots_removing = true; // bool | Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. $check_more1_d_variants = true; // bool | Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. $fast_scan_only = true; // bool | Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. +$allow_additional_restorations = true; // bool | Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. $region_likelihood_threshold_percent = 1.2; // double | 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. $scan_window_sizes = array(56); // int[] | 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. $similarity = 1.2; // double | 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] @@ -192,7 +193,7 @@ $storage = "storage_example"; // string | The image storage. $folder = "folder_example"; // string | The image folder. try { - $result = $apiInstance->getBarcodeRecognize($name, $type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $storage, $folder); + $result = $apiInstance->getBarcodeRecognize($name, $type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $allow_additional_restorations, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $storage, $folder); print_r($result); } catch (Exception $e) { echo 'Exception when calling BarcodeApi->getBarcodeRecognize: ', $e->getMessage(), PHP_EOL; @@ -232,6 +233,7 @@ Name | Type | Description | Notes **allow_white_spots_removing** | **bool**| Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. | [optional] **check_more1_d_variants** | **bool**| Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional] **fast_scan_only** | **bool**| Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. | [optional] + **allow_additional_restorations** | **bool**| Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. | [optional] **region_likelihood_threshold_percent** | **double**| 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. | [optional] **scan_window_sizes** | [**int[]**](../Model/int.md)| 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. | [optional] **similarity** | **double**| 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] | [optional] @@ -258,7 +260,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **postBarcodeRecognizeFromUrlOrContent** -> \Aspose\BarCode\Model\BarcodeResponseList postBarcodeRecognizeFromUrlOrContent($type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $url, $image) +> \Aspose\BarCode\Model\BarcodeResponseList postBarcodeRecognizeFromUrlOrContent($type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $allow_additional_restorations, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $url, $image) Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image with content-type \"application/octet-stream\". An image can also be passed as a form field. @@ -303,6 +305,7 @@ $allow_salt_and_pepper_filtering = true; // bool | Allows engine to recognize ba $allow_white_spots_removing = true; // bool | Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. $check_more1_d_variants = true; // bool | Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. $fast_scan_only = true; // bool | Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. +$allow_additional_restorations = true; // bool | Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. $region_likelihood_threshold_percent = 1.2; // double | 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. $scan_window_sizes = array(56); // int[] | 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. $similarity = 1.2; // double | 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] @@ -314,7 +317,7 @@ $url = "url_example"; // string | The image file url. $image = "/path/to/file.txt"; // \SplFileObject | Image data try { - $result = $apiInstance->postBarcodeRecognizeFromUrlOrContent($type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $url, $image); + $result = $apiInstance->postBarcodeRecognizeFromUrlOrContent($type, $checksum_validation, $detect_encoding, $preset, $rect_x, $rect_y, $rect_width, $rect_height, $strip_fnc, $timeout, $median_smoothing_window_size, $allow_median_smoothing, $allow_complex_background, $allow_datamatrix_industrial_barcodes, $allow_decreased_image, $allow_detect_scan_gap, $allow_incorrect_barcodes, $allow_invert_image, $allow_micro_white_spots_removing, $allow_one_d_fast_barcodes_detector, $allow_one_d_wiped_bars_restoration, $allow_qr_micro_qr_restoration, $allow_regular_image, $allow_salt_and_pepper_filtering, $allow_white_spots_removing, $check_more1_d_variants, $fast_scan_only, $allow_additional_restorations, $region_likelihood_threshold_percent, $scan_window_sizes, $similarity, $skip_diagonal_search, $read_tiny_barcodes, $australian_post_encoding_table, $ignore_ending_filling_patterns_for_c_table, $url, $image); print_r($result); } catch (Exception $e) { echo 'Exception when calling BarcodeApi->postBarcodeRecognizeFromUrlOrContent: ', $e->getMessage(), PHP_EOL; @@ -353,6 +356,7 @@ Name | Type | Description | Notes **allow_white_spots_removing** | **bool**| Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. | [optional] **check_more1_d_variants** | **bool**| Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional] **fast_scan_only** | **bool**| Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. | [optional] + **allow_additional_restorations** | **bool**| Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. | [optional] **region_likelihood_threshold_percent** | **double**| 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. | [optional] **scan_window_sizes** | [**int[]**](../Model/int.md)| 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. | [optional] **similarity** | **double**| 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] | [optional] diff --git a/docs/Model/AustralianPostParams.md b/docs/Model/AustralianPostParams.md index e300a93..f0e0d79 100644 --- a/docs/Model/AustralianPostParams.md +++ b/docs/Model/AustralianPostParams.md @@ -1,5 +1,7 @@ # AustralianPostParams +AustralianPost barcode parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/AutoSizeMode.md b/docs/Model/AutoSizeMode.md index 7e7491a..3ee9ec5 100644 --- a/docs/Model/AutoSizeMode.md +++ b/docs/Model/AutoSizeMode.md @@ -1,8 +1,11 @@ # AutoSizeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **NONE** +* NEAREST +* INTERPOLATION [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AvailableGraphicsUnit.md b/docs/Model/AvailableGraphicsUnit.md index 463f74f..b500a3f 100644 --- a/docs/Model/AvailableGraphicsUnit.md +++ b/docs/Model/AvailableGraphicsUnit.md @@ -1,8 +1,12 @@ # AvailableGraphicsUnit -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- +Subset of GraphicsUnit. +## Allowable values + +* **PIXEL** +* POINT +* INCH +* MILLIMETER [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AztecParams.md b/docs/Model/AztecParams.md index cec2e82..7dd02ae 100644 --- a/docs/Model/AztecParams.md +++ b/docs/Model/AztecParams.md @@ -1,5 +1,7 @@ # AztecParams +Aztec parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/AztecSymbolMode.md b/docs/Model/AztecSymbolMode.md index 68840c1..9953c92 100644 --- a/docs/Model/AztecSymbolMode.md +++ b/docs/Model/AztecSymbolMode.md @@ -1,8 +1,12 @@ # AztecSymbolMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* COMPACT +* FULL_RANGE +* RUNE [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BarcodeResponse.md b/docs/Model/BarcodeResponse.md index 0b22c00..908a3f6 100644 --- a/docs/Model/BarcodeResponse.md +++ b/docs/Model/BarcodeResponse.md @@ -1,5 +1,7 @@ # BarcodeResponse +Represents information about barcode. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/BarcodeResponseList.md b/docs/Model/BarcodeResponseList.md index 45b91a1..e97b441 100644 --- a/docs/Model/BarcodeResponseList.md +++ b/docs/Model/BarcodeResponseList.md @@ -1,5 +1,7 @@ # BarcodeResponseList +Represents information about barcode list. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/BorderDashStyle.md b/docs/Model/BorderDashStyle.md index c59206a..eb62873 100644 --- a/docs/Model/BorderDashStyle.md +++ b/docs/Model/BorderDashStyle.md @@ -1,8 +1,13 @@ # BorderDashStyle -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **SOLID** +* DASH +* DOT +* DASH_DOT +* DASH_DOT_DOT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CaptionParams.md b/docs/Model/CaptionParams.md index 7fcf9d8..0bce9d2 100644 --- a/docs/Model/CaptionParams.md +++ b/docs/Model/CaptionParams.md @@ -1,5 +1,7 @@ # CaptionParams +Caption + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/ChecksumValidation.md b/docs/Model/ChecksumValidation.md index e708298..5793bad 100644 --- a/docs/Model/ChecksumValidation.md +++ b/docs/Model/ChecksumValidation.md @@ -1,8 +1,11 @@ # ChecksumValidation -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **_DEFAULT** +* ON +* OFF [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CodabarChecksumMode.md b/docs/Model/CodabarChecksumMode.md index 6ae5012..6a78633 100644 --- a/docs/Model/CodabarChecksumMode.md +++ b/docs/Model/CodabarChecksumMode.md @@ -1,8 +1,10 @@ # CodabarChecksumMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **MOD10** +* MOD16 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CodabarParams.md b/docs/Model/CodabarParams.md index 6ea9d17..8b8f449 100644 --- a/docs/Model/CodabarParams.md +++ b/docs/Model/CodabarParams.md @@ -1,5 +1,7 @@ # CodabarParams +Codabar parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/CodabarSymbol.md b/docs/Model/CodabarSymbol.md index b3fe0c7..b01d0b2 100644 --- a/docs/Model/CodabarSymbol.md +++ b/docs/Model/CodabarSymbol.md @@ -1,8 +1,12 @@ # CodabarSymbol -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **A** +* B +* C +* D [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CodablockParams.md b/docs/Model/CodablockParams.md index 6e6bdbc..618056d 100644 --- a/docs/Model/CodablockParams.md +++ b/docs/Model/CodablockParams.md @@ -1,5 +1,7 @@ # CodablockParams +Codablock parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/Code128Emulation.md b/docs/Model/Code128Emulation.md index 6b6cd18..4585fb3 100644 --- a/docs/Model/Code128Emulation.md +++ b/docs/Model/Code128Emulation.md @@ -1,8 +1,12 @@ # Code128Emulation -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **NONE** +* CODE903 +* CODE904 +* CODE905 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Code128EncodeMode.md b/docs/Model/Code128EncodeMode.md index c2403ed..b1a864f 100644 --- a/docs/Model/Code128EncodeMode.md +++ b/docs/Model/Code128EncodeMode.md @@ -1,8 +1,15 @@ # Code128EncodeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* CODE_A +* CODE_B +* CODE_AB +* CODE_C +* CODE_AC +* CODE_BC [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Code128Params.md b/docs/Model/Code128Params.md index 7c377eb..090c0e0 100644 --- a/docs/Model/Code128Params.md +++ b/docs/Model/Code128Params.md @@ -1,5 +1,7 @@ # Code128Params +Code128 params. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/Code16KParams.md b/docs/Model/Code16KParams.md index 4e66c13..3b5545e 100644 --- a/docs/Model/Code16KParams.md +++ b/docs/Model/Code16KParams.md @@ -1,5 +1,7 @@ # Code16KParams +Code16K parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/CodeLocation.md b/docs/Model/CodeLocation.md index f284b42..51e7ab7 100644 --- a/docs/Model/CodeLocation.md +++ b/docs/Model/CodeLocation.md @@ -1,8 +1,11 @@ # CodeLocation -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **BELOW** +* ABOVE +* NONE [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CouponParams.md b/docs/Model/CouponParams.md index 1fe3a9b..b8f4060 100644 --- a/docs/Model/CouponParams.md +++ b/docs/Model/CouponParams.md @@ -1,5 +1,7 @@ # CouponParams +Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/CustomerInformationInterpretingType.md b/docs/Model/CustomerInformationInterpretingType.md index 6f86a96..80cda05 100644 --- a/docs/Model/CustomerInformationInterpretingType.md +++ b/docs/Model/CustomerInformationInterpretingType.md @@ -1,8 +1,11 @@ # CustomerInformationInterpretingType -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **C_TABLE** +* N_TABLE +* OTHER [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DataBarParams.md b/docs/Model/DataBarParams.md index f161d49..8f2e1ea 100644 --- a/docs/Model/DataBarParams.md +++ b/docs/Model/DataBarParams.md @@ -1,5 +1,7 @@ # DataBarParams +Databar parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/DataMatrixEccType.md b/docs/Model/DataMatrixEccType.md index edd85a4..1f095a1 100644 --- a/docs/Model/DataMatrixEccType.md +++ b/docs/Model/DataMatrixEccType.md @@ -1,8 +1,15 @@ # DataMatrixEccType -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **ECC_AUTO** +* ECC000 +* ECC050 +* ECC080 +* ECC100 +* ECC140 +* ECC200 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DataMatrixEncodeMode.md b/docs/Model/DataMatrixEncodeMode.md index 94c3327..c1109c5 100644 --- a/docs/Model/DataMatrixEncodeMode.md +++ b/docs/Model/DataMatrixEncodeMode.md @@ -1,8 +1,17 @@ # DataMatrixEncodeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- +DataMatrix encoder's encoding mode, default to Auto +## Allowable values + +* **AUTO** +* ASCII +* FULL +* CUSTOM +* C40 +* TEXT +* EDIFACT +* ANSIX12 +* EXTENDED_CODETEXT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DataMatrixParams.md b/docs/Model/DataMatrixParams.md index 774e8ca..0755812 100644 --- a/docs/Model/DataMatrixParams.md +++ b/docs/Model/DataMatrixParams.md @@ -1,5 +1,7 @@ # DataMatrixParams +DataMatrix parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- @@ -10,6 +12,7 @@ Name | Type | Description | Notes **data_matrix_encode_mode** | [**\Aspose\BarCode\Model\DataMatrixEncodeMode**](DataMatrixEncodeMode.md) | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.Auto. | [optional] **rows** | **int** | DEPRECATED: Will be replaced with 'DataMatrix.Version' in the next release Rows count. | [optional] **macro_characters** | [**\Aspose\BarCode\Model\MacroCharacter**](MacroCharacter.md) | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS1DataMatrix Default value: MacroCharacters.None. | [optional] +**version** | [**\Aspose\BarCode\Model\DataMatrixVersion**](DataMatrixVersion.md) | Sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DataMatrixVersion.md b/docs/Model/DataMatrixVersion.md new file mode 100644 index 0000000..26b3719 --- /dev/null +++ b/docs/Model/DataMatrixVersion.md @@ -0,0 +1,80 @@ +# DataMatrixVersion + + +## Allowable values + +* **AUTO** +* ROWS_COLUMNS +* ECC000_9X9 +* ECC000_050_11X11 +* ECC000_100_13X13 +* ECC000_100_15X15 +* ECC000_140_17X17 +* ECC000_140_19X19 +* ECC000_140_21X21 +* ECC000_140_23X23 +* ECC000_140_25X25 +* ECC000_140_27X27 +* ECC000_140_29X29 +* ECC000_140_31X31 +* ECC000_140_33X33 +* ECC000_140_35X35 +* ECC000_140_37X37 +* ECC000_140_39X39 +* ECC000_140_41X41 +* ECC000_140_43X43 +* ECC000_140_45X45 +* ECC000_140_47X47 +* ECC000_140_49X49 +* ECC200_10X10 +* ECC200_12X12 +* ECC200_14X14 +* ECC200_16X16 +* ECC200_18X18 +* ECC200_20X20 +* ECC200_22X22 +* ECC200_24X24 +* ECC200_26X26 +* ECC200_32X32 +* ECC200_36X36 +* ECC200_40X40 +* ECC200_44X44 +* ECC200_48X48 +* ECC200_52X52 +* ECC200_64X64 +* ECC200_72X72 +* ECC200_80X80 +* ECC200_88X88 +* ECC200_96X96 +* ECC200_104X104 +* ECC200_120X120 +* ECC200_132X132 +* ECC200_144X144 +* ECC200_8X18 +* ECC200_8X32 +* ECC200_12X26 +* ECC200_12X36 +* ECC200_16X36 +* ECC200_16X48 +* DMRE_8X48 +* DMRE_8X64 +* DMRE_8X80 +* DMRE_8X96 +* DMRE_8X120 +* DMRE_8X144 +* DMRE_12X64 +* DMRE_12X88 +* DMRE_16X64 +* DMRE_20X36 +* DMRE_20X44 +* DMRE_20X64 +* DMRE_22X48 +* DMRE_24X48 +* DMRE_24X64 +* DMRE_26X40 +* DMRE_26X48 +* DMRE_26X64 + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/Model/DecodeBarcodeType.md b/docs/Model/DecodeBarcodeType.md index aa8570c..4ce150f 100644 --- a/docs/Model/DecodeBarcodeType.md +++ b/docs/Model/DecodeBarcodeType.md @@ -1,8 +1,89 @@ # DecodeBarcodeType -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- +See DecodeType +## Allowable values + +* **ALL** +* AUSTRALIA_POST +* AZTEC +* ISBN +* CODABAR +* CODE11 +* CODE128 +* GS1_CODE128 +* CODE39_EXTENDED +* CODE39_STANDARD +* CODE93_EXTENDED +* CODE93_STANDARD +* DATA_MATRIX +* DEUTSCHE_POST_IDENTCODE +* DEUTSCHE_POST_LEITCODE +* EAN13 +* EAN14 +* EAN8 +* IATA2OF5 +* INTERLEAVED2OF5 +* ISSN +* ISMN +* ITALIAN_POST25 +* ITF14 +* ITF6 +* MACRO_PDF417 +* MATRIX2OF5 +* MSI +* ONE_CODE +* OPC +* PATCH_CODE +* PDF417 +* MICRO_PDF417 +* PLANET +* POSTNET +* PZN +* QR +* MICRO_QR +* RM4_SCC +* SCC14 +* SSCC18 +* STANDARD2OF5 +* SUPPLEMENT +* UPCA +* UPCE +* VIN +* PHARMACODE +* GS1_DATA_MATRIX +* DATABAR_OMNI_DIRECTIONAL +* DATABAR_TRUNCATED +* DATABAR_LIMITED +* DATABAR_EXPANDED +* SWISS_POST_PARCEL +* AUSTRALIAN_POSTE_PARCEL +* CODE16_K +* DATABAR_STACKED_OMNI_DIRECTIONAL +* DATABAR_STACKED +* DATABAR_EXPANDED_STACKED +* COMPACT_PDF417 +* GS1_QR +* MAXI_CODE +* MICR_E13_B +* CODE32 +* DATA_LOGIC2OF5 +* DOT_CODE +* DUTCH_KIX +* CODABLOCK_F +* MAILMARK +* GS1_DOT_CODE +* HIBC_CODE39_LIC +* HIBC_CODE128_LIC +* HIBC_AZTEC_LIC +* HIBC_DATA_MATRIX_LIC +* HIBCQRLIC +* HIBC_CODE39_PAS +* HIBC_CODE128_PAS +* HIBC_AZTEC_PAS +* HIBC_DATA_MATRIX_PAS +* HIBCQRPAS +* HAN_XIN +* GS1_HAN_XIN [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DiscUsage.md b/docs/Model/DiscUsage.md index e486010..353d6ef 100644 --- a/docs/Model/DiscUsage.md +++ b/docs/Model/DiscUsage.md @@ -1,5 +1,7 @@ # DiscUsage +Class for disc space information. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/DotCodeEncodeMode.md b/docs/Model/DotCodeEncodeMode.md index 3373bb3..404bc6f 100644 --- a/docs/Model/DotCodeEncodeMode.md +++ b/docs/Model/DotCodeEncodeMode.md @@ -1,8 +1,11 @@ # DotCodeEncodeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* BYTES +* EXTENDED_CODETEXT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DotCodeParams.md b/docs/Model/DotCodeParams.md index 2ed635a..9594864 100644 --- a/docs/Model/DotCodeParams.md +++ b/docs/Model/DotCodeParams.md @@ -1,5 +1,7 @@ # DotCodeParams +DotCode parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/ECIEncodings.md b/docs/Model/ECIEncodings.md index 34e077b..9dcf30a 100644 --- a/docs/Model/ECIEncodings.md +++ b/docs/Model/ECIEncodings.md @@ -1,8 +1,35 @@ # ECIEncodings -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **NONE** +* ISO_8859_1 +* ISO_8859_2 +* ISO_8859_3 +* ISO_8859_4 +* ISO_8859_5 +* ISO_8859_6 +* ISO_8859_7 +* ISO_8859_8 +* ISO_8859_9 +* ISO_8859_10 +* ISO_8859_11 +* ISO_8859_13 +* ISO_8859_14 +* ISO_8859_15 +* ISO_8859_16 +* SHIFT_JIS +* WIN1250 +* WIN1251 +* WIN1252 +* WIN1256 +* UTF16_BE +* UTF8 +* US_ASCII +* BIG5 +* GB18030 +* EUC_KR [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnableChecksum.md b/docs/Model/EnableChecksum.md index 98e4ccb..9c34908 100644 --- a/docs/Model/EnableChecksum.md +++ b/docs/Model/EnableChecksum.md @@ -1,8 +1,11 @@ # EnableChecksum -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **_DEFAULT** +* YES +* NO [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EncodeBarcodeType.md b/docs/Model/EncodeBarcodeType.md index a2c68ec..57e5ec3 100644 --- a/docs/Model/EncodeBarcodeType.md +++ b/docs/Model/EncodeBarcodeType.md @@ -1,8 +1,78 @@ # EncodeBarcodeType -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- +See EncodeTypes +## Allowable values + +* **CODABAR** +* CODE11 +* CODE39_STANDARD +* CODE39_EXTENDED +* CODE93_STANDARD +* CODE93_EXTENDED +* CODE128 +* GS1_CODE128 +* EAN8 +* EAN13 +* EAN14 +* SCC14 +* SSCC18 +* UPCA +* UPCE +* ISBN +* ISSN +* ISMN +* STANDARD2OF5 +* INTERLEAVED2OF5 +* MATRIX2OF5 +* ITALIAN_POST25 +* IATA2OF5 +* ITF14 +* ITF6 +* MSI +* VIN +* DEUTSCHE_POST_IDENTCODE +* DEUTSCHE_POST_LEITCODE +* OPC +* PZN +* CODE16_K +* PHARMACODE +* DATA_MATRIX +* QR +* AZTEC +* PDF417 +* MACRO_PDF417 +* AUSTRALIA_POST +* POSTNET +* PLANET +* ONE_CODE +* RM4_SCC +* DATABAR_OMNI_DIRECTIONAL +* DATABAR_TRUNCATED +* DATABAR_LIMITED +* DATABAR_EXPANDED +* SINGAPORE_POST +* GS1_DATA_MATRIX +* AUSTRALIAN_POSTE_PARCEL +* SWISS_POST_PARCEL +* PATCH_CODE +* DATABAR_EXPANDED_STACKED +* DATABAR_STACKED +* DATABAR_STACKED_OMNI_DIRECTIONAL +* MICRO_PDF417 +* GS1_QR +* MAXI_CODE +* CODE32 +* DATA_LOGIC2OF5 +* DOT_CODE +* DUTCH_KIX +* UPCA_GS1_CODE128_COUPON +* UPCA_GS1_DATABAR_COUPON +* CODABLOCK_F +* GS1_CODABLOCK_F +* MAILMARK +* GS1_DOT_CODE +* HAN_XIN +* GS1_HAN_XIN [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Error.md b/docs/Model/Error.md index 341ff7e..54a4de6 100644 --- a/docs/Model/Error.md +++ b/docs/Model/Error.md @@ -1,5 +1,7 @@ # Error +Error + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/ErrorDetails.md b/docs/Model/ErrorDetails.md index 69a47b9..91b03a6 100644 --- a/docs/Model/ErrorDetails.md +++ b/docs/Model/ErrorDetails.md @@ -1,5 +1,7 @@ # ErrorDetails +The error details + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/FileVersions.md b/docs/Model/FileVersions.md index bfe57c2..e274f0d 100644 --- a/docs/Model/FileVersions.md +++ b/docs/Model/FileVersions.md @@ -1,5 +1,7 @@ # FileVersions +File versions FileVersion. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/FilesList.md b/docs/Model/FilesList.md index ed87932..1f0a013 100644 --- a/docs/Model/FilesList.md +++ b/docs/Model/FilesList.md @@ -1,5 +1,7 @@ # FilesList +Files list + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/FilesUploadResult.md b/docs/Model/FilesUploadResult.md index 07dd862..9d0fd4b 100644 --- a/docs/Model/FilesUploadResult.md +++ b/docs/Model/FilesUploadResult.md @@ -1,5 +1,7 @@ # FilesUploadResult +File upload result + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/FontMode.md b/docs/Model/FontMode.md index b3a3d1f..ad1713c 100644 --- a/docs/Model/FontMode.md +++ b/docs/Model/FontMode.md @@ -1,8 +1,10 @@ # FontMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* MANUAL [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FontParams.md b/docs/Model/FontParams.md index 21e682c..94a9276 100644 --- a/docs/Model/FontParams.md +++ b/docs/Model/FontParams.md @@ -1,5 +1,7 @@ # FontParams +Font. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/FontStyle.md b/docs/Model/FontStyle.md index ea8c69e..6b8dd5f 100644 --- a/docs/Model/FontStyle.md +++ b/docs/Model/FontStyle.md @@ -1,8 +1,13 @@ # FontStyle -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **REGULAR** +* BOLD +* ITALIC +* UNDERLINE +* STRIKEOUT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GeneratorParams.md b/docs/Model/GeneratorParams.md index adb2da2..756f86e 100644 --- a/docs/Model/GeneratorParams.md +++ b/docs/Model/GeneratorParams.md @@ -1,5 +1,7 @@ # GeneratorParams +Represents extended BarcodeGenerator params. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/GeneratorParamsList.md b/docs/Model/GeneratorParamsList.md index 810d3bf..30623df 100644 --- a/docs/Model/GeneratorParamsList.md +++ b/docs/Model/GeneratorParamsList.md @@ -1,5 +1,7 @@ # GeneratorParamsList +Represents list of barcode generators + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/HanXinEncodeMode.md b/docs/Model/HanXinEncodeMode.md index 7ad7bfa..b075574 100644 --- a/docs/Model/HanXinEncodeMode.md +++ b/docs/Model/HanXinEncodeMode.md @@ -1,8 +1,14 @@ # HanXinEncodeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* BINARY +* ECI +* UNICODE +* URI +* EXTENDED [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HanXinErrorLevel.md b/docs/Model/HanXinErrorLevel.md index ac0f293..247e49c 100644 --- a/docs/Model/HanXinErrorLevel.md +++ b/docs/Model/HanXinErrorLevel.md @@ -1,8 +1,12 @@ # HanXinErrorLevel -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **L1** +* L2 +* L3 +* L4 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HanXinParams.md b/docs/Model/HanXinParams.md index 5882310..6cb7e76 100644 --- a/docs/Model/HanXinParams.md +++ b/docs/Model/HanXinParams.md @@ -1,5 +1,7 @@ # HanXinParams +HanXin params. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/HanXinVersion.md b/docs/Model/HanXinVersion.md index a36b660..bd627da 100644 --- a/docs/Model/HanXinVersion.md +++ b/docs/Model/HanXinVersion.md @@ -1,8 +1,93 @@ # HanXinVersion -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* VERSION01 +* VERSION02 +* VERSION03 +* VERSION04 +* VERSION05 +* VERSION06 +* VERSION07 +* VERSION08 +* VERSION09 +* VERSION10 +* VERSION11 +* VERSION12 +* VERSION13 +* VERSION14 +* VERSION15 +* VERSION16 +* VERSION17 +* VERSION18 +* VERSION19 +* VERSION20 +* VERSION21 +* VERSION22 +* VERSION23 +* VERSION24 +* VERSION25 +* VERSION26 +* VERSION27 +* VERSION28 +* VERSION29 +* VERSION30 +* VERSION31 +* VERSION32 +* VERSION33 +* VERSION34 +* VERSION35 +* VERSION36 +* VERSION37 +* VERSION38 +* VERSION39 +* VERSION40 +* VERSION41 +* VERSION42 +* VERSION43 +* VERSION44 +* VERSION45 +* VERSION46 +* VERSION47 +* VERSION48 +* VERSION49 +* VERSION50 +* VERSION51 +* VERSION52 +* VERSION53 +* VERSION54 +* VERSION55 +* VERSION56 +* VERSION57 +* VERSION58 +* VERSION59 +* VERSION60 +* VERSION61 +* VERSION62 +* VERSION63 +* VERSION64 +* VERSION65 +* VERSION66 +* VERSION67 +* VERSION68 +* VERSION69 +* VERSION70 +* VERSION71 +* VERSION72 +* VERSION73 +* VERSION74 +* VERSION75 +* VERSION76 +* VERSION77 +* VERSION78 +* VERSION79 +* VERSION80 +* VERSION81 +* VERSION82 +* VERSION83 +* VERSION84 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ITF14BorderType.md b/docs/Model/ITF14BorderType.md index a2112d8..6bd3476 100644 --- a/docs/Model/ITF14BorderType.md +++ b/docs/Model/ITF14BorderType.md @@ -1,8 +1,13 @@ # ITF14BorderType -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **NONE** +* FRAME +* BAR +* FRAME_OUT +* BAR_OUT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ITFParams.md b/docs/Model/ITFParams.md index d964604..d1ea806 100644 --- a/docs/Model/ITFParams.md +++ b/docs/Model/ITFParams.md @@ -1,5 +1,7 @@ # ITFParams +ITF parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/MacroCharacter.md b/docs/Model/MacroCharacter.md index d1b4dfb..9924552 100644 --- a/docs/Model/MacroCharacter.md +++ b/docs/Model/MacroCharacter.md @@ -1,8 +1,11 @@ # MacroCharacter -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **NONE** +* MACRO05 +* MACRO06 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MaxiCodeEncodeMode.md b/docs/Model/MaxiCodeEncodeMode.md index 661f04e..b81b974 100644 --- a/docs/Model/MaxiCodeEncodeMode.md +++ b/docs/Model/MaxiCodeEncodeMode.md @@ -1,8 +1,11 @@ # MaxiCodeEncodeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* BYTES +* EXTENDED_CODETEXT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MaxiCodeMode.md b/docs/Model/MaxiCodeMode.md index 9a57ce4..6cf2f2a 100644 --- a/docs/Model/MaxiCodeMode.md +++ b/docs/Model/MaxiCodeMode.md @@ -1,8 +1,13 @@ # MaxiCodeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **MODE2** +* MODE3 +* MODE4 +* MODE5 +* MODE6 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MaxiCodeParams.md b/docs/Model/MaxiCodeParams.md index fe6b70c..0ea0e02 100644 --- a/docs/Model/MaxiCodeParams.md +++ b/docs/Model/MaxiCodeParams.md @@ -1,5 +1,7 @@ # MaxiCodeParams +MaxiCode parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/ObjectExist.md b/docs/Model/ObjectExist.md index c674266..f589dee 100644 --- a/docs/Model/ObjectExist.md +++ b/docs/Model/ObjectExist.md @@ -1,5 +1,7 @@ # ObjectExist +Object exists + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/Padding.md b/docs/Model/Padding.md index ef7aa24..e68cb61 100644 --- a/docs/Model/Padding.md +++ b/docs/Model/Padding.md @@ -1,5 +1,7 @@ # Padding +Padding around barcode. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/PatchCodeParams.md b/docs/Model/PatchCodeParams.md index 3c57c8b..2af1894 100644 --- a/docs/Model/PatchCodeParams.md +++ b/docs/Model/PatchCodeParams.md @@ -1,5 +1,7 @@ # PatchCodeParams +PatchCode parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/PatchFormat.md b/docs/Model/PatchFormat.md index ebaa8be..a5d74ad 100644 --- a/docs/Model/PatchFormat.md +++ b/docs/Model/PatchFormat.md @@ -1,8 +1,13 @@ # PatchFormat -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **PATCH_ONLY** +* A4 +* A4_LANDSCAPE +* US_LETTER +* US_LETTER_LANDSCAPE [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Pdf417CompactionMode.md b/docs/Model/Pdf417CompactionMode.md index 69d3b66..a69a5ed 100644 --- a/docs/Model/Pdf417CompactionMode.md +++ b/docs/Model/Pdf417CompactionMode.md @@ -1,8 +1,12 @@ # Pdf417CompactionMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* TEXT +* NUMERIC +* BINARY [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Pdf417ErrorLevel.md b/docs/Model/Pdf417ErrorLevel.md index 1cebc3d..d890424 100644 --- a/docs/Model/Pdf417ErrorLevel.md +++ b/docs/Model/Pdf417ErrorLevel.md @@ -1,8 +1,17 @@ # Pdf417ErrorLevel -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **LEVEL0** +* LEVEL1 +* LEVEL2 +* LEVEL3 +* LEVEL4 +* LEVEL5 +* LEVEL6 +* LEVEL7 +* LEVEL8 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Pdf417MacroTerminator.md b/docs/Model/Pdf417MacroTerminator.md index b7f0675..7d83371 100644 --- a/docs/Model/Pdf417MacroTerminator.md +++ b/docs/Model/Pdf417MacroTerminator.md @@ -1,8 +1,11 @@ # Pdf417MacroTerminator -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* NONE +* SET [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Pdf417Params.md b/docs/Model/Pdf417Params.md index 9ab28e4..7550f50 100644 --- a/docs/Model/Pdf417Params.md +++ b/docs/Model/Pdf417Params.md @@ -1,5 +1,7 @@ # Pdf417Params +PDF417 parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/PostalParams.md b/docs/Model/PostalParams.md index 620dc6a..a65c487 100644 --- a/docs/Model/PostalParams.md +++ b/docs/Model/PostalParams.md @@ -1,5 +1,7 @@ # PostalParams +Postal parameters. Used for Postnet, Planet. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/PresetType.md b/docs/Model/PresetType.md index 80b61af..b33b2ce 100644 --- a/docs/Model/PresetType.md +++ b/docs/Model/PresetType.md @@ -1,8 +1,14 @@ # PresetType -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- +See QualitySettings allows to configure recognition quality and speed manually. +## Allowable values + +* **HIGH_PERFORMANCE** +* NORMAL_QUALITY +* HIGH_QUALITY_DETECTION +* MAX_QUALITY_DETECTION +* HIGH_QUALITY +* MAX_BAR_CODES [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/QREncodeMode.md b/docs/Model/QREncodeMode.md index 70535c9..2c992fd 100644 --- a/docs/Model/QREncodeMode.md +++ b/docs/Model/QREncodeMode.md @@ -1,8 +1,14 @@ # QREncodeMode -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* BYTES +* UTF8_BOM +* UTF16_BEBOM +* ECI_ENCODING +* EXTENDED_CODETEXT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/QREncodeType.md b/docs/Model/QREncodeType.md index b5299f5..9a90a1e 100644 --- a/docs/Model/QREncodeType.md +++ b/docs/Model/QREncodeType.md @@ -1,8 +1,11 @@ # QREncodeType -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* FORCE_QR +* FORCE_MICRO_QR [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/QRErrorLevel.md b/docs/Model/QRErrorLevel.md index bb65c39..f61c506 100644 --- a/docs/Model/QRErrorLevel.md +++ b/docs/Model/QRErrorLevel.md @@ -1,8 +1,12 @@ # QRErrorLevel -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **LEVEL_L** +* LEVEL_M +* LEVEL_Q +* LEVEL_H [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/QRVersion.md b/docs/Model/QRVersion.md index 43c6d35..6669452 100644 --- a/docs/Model/QRVersion.md +++ b/docs/Model/QRVersion.md @@ -1,8 +1,53 @@ # QRVersion -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **AUTO** +* VERSION01 +* VERSION02 +* VERSION03 +* VERSION04 +* VERSION05 +* VERSION06 +* VERSION07 +* VERSION08 +* VERSION09 +* VERSION10 +* VERSION11 +* VERSION12 +* VERSION13 +* VERSION14 +* VERSION15 +* VERSION16 +* VERSION17 +* VERSION18 +* VERSION19 +* VERSION20 +* VERSION21 +* VERSION22 +* VERSION23 +* VERSION24 +* VERSION25 +* VERSION26 +* VERSION27 +* VERSION28 +* VERSION29 +* VERSION30 +* VERSION31 +* VERSION32 +* VERSION33 +* VERSION34 +* VERSION35 +* VERSION36 +* VERSION37 +* VERSION38 +* VERSION39 +* VERSION40 +* VERSION_M1 +* VERSION_M2 +* VERSION_M3 +* VERSION_M4 [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/QrParams.md b/docs/Model/QrParams.md index 42ce0da..0e8a848 100644 --- a/docs/Model/QrParams.md +++ b/docs/Model/QrParams.md @@ -1,5 +1,7 @@ # QrParams +QR parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/ReaderParams.md b/docs/Model/ReaderParams.md index 5b86b8c..8953b5e 100644 --- a/docs/Model/ReaderParams.md +++ b/docs/Model/ReaderParams.md @@ -1,5 +1,7 @@ # ReaderParams +Represents BarcodeReader object. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- @@ -30,6 +32,7 @@ Name | Type | Description | Notes **allow_white_spots_removing** | **bool** | Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. | [optional] **check_more1_d_variants** | **bool** | Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional] **fast_scan_only** | **bool** | Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. | [optional] +**allow_additional_restorations** | **bool** | Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. | [optional] **region_likelihood_threshold_percent** | **double** | 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. | [optional] **scan_window_sizes** | **int[]** | 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. | [optional] **similarity** | **double** | 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] | [optional] diff --git a/docs/Model/RegionPoint.md b/docs/Model/RegionPoint.md index 6114112..2b74c36 100644 --- a/docs/Model/RegionPoint.md +++ b/docs/Model/RegionPoint.md @@ -1,5 +1,7 @@ # RegionPoint +Wrapper around Drawing.Point for proper specification. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/ResultImageInfo.md b/docs/Model/ResultImageInfo.md index 63d264d..647f6d4 100644 --- a/docs/Model/ResultImageInfo.md +++ b/docs/Model/ResultImageInfo.md @@ -1,5 +1,7 @@ # ResultImageInfo +Created image info. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/StorageExist.md b/docs/Model/StorageExist.md index e1ed9e6..802d6aa 100644 --- a/docs/Model/StorageExist.md +++ b/docs/Model/StorageExist.md @@ -1,5 +1,7 @@ # StorageExist +Storage exists + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/StorageFile.md b/docs/Model/StorageFile.md index c9ea3f0..3368b98 100644 --- a/docs/Model/StorageFile.md +++ b/docs/Model/StorageFile.md @@ -1,5 +1,7 @@ # StorageFile +File or folder information + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/StructuredAppend.md b/docs/Model/StructuredAppend.md index 7219090..359a10b 100644 --- a/docs/Model/StructuredAppend.md +++ b/docs/Model/StructuredAppend.md @@ -1,5 +1,7 @@ # StructuredAppend +QR structured append parameters. + ## Properties Name | Type | Description | Notes ---- | ---- | ----------- | ----- diff --git a/docs/Model/TextAlignment.md b/docs/Model/TextAlignment.md index 5471eb1..e0a1778 100644 --- a/docs/Model/TextAlignment.md +++ b/docs/Model/TextAlignment.md @@ -1,8 +1,11 @@ # TextAlignment -## Properties -Name | Type | Description | Notes ----- | ---- | ----------- | ----- + +## Allowable values + +* **LEFT** +* CENTER +* RIGHT [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/scripts/add-deprecation-warnings.bash b/scripts/add-deprecation-warnings.bash old mode 100644 new mode 100755 diff --git a/src/Aspose/BarCode/BarcodeApi.php b/src/Aspose/BarCode/BarcodeApi.php index f4feea9..908bf2b 100644 --- a/src/Aspose/BarCode/BarcodeApi.php +++ b/src/Aspose/BarCode/BarcodeApi.php @@ -1160,6 +1160,16 @@ protected function GetBarcodeRecognizeRequest(Requests\GetBarcodeRecognizeReques } } // query params + if (isset($request->allow_additional_restorations)) { + $localName = lcfirst('AllowAdditionalRestorations'); + $localValue = is_bool($request->allow_additional_restorations) ? ($request->allow_additional_restorations ? 'true' : 'false') : $request->allow_additional_restorations; + if (strpos($resourcePath, '{' . $localName . '}') !== false) { + $resourcePath = str_replace('{' . $localName . '}', ObjectSerializer::toPathValue($localValue), $resourcePath); + } else { + $queryParams[$localName] = ObjectSerializer::toQueryValue($localValue); + } + } + // query params if (isset($request->region_likelihood_threshold_percent)) { $localName = lcfirst('RegionLikelihoodThresholdPercent'); $localValue = is_bool($request->region_likelihood_threshold_percent) ? ($request->region_likelihood_threshold_percent ? 'true' : 'false') : $request->region_likelihood_threshold_percent; @@ -1757,6 +1767,16 @@ protected function PostBarcodeRecognizeFromUrlOrContentRequest(Requests\PostBarc } } // query params + if (isset($request->allow_additional_restorations)) { + $localName = lcfirst('AllowAdditionalRestorations'); + $localValue = is_bool($request->allow_additional_restorations) ? ($request->allow_additional_restorations ? 'true' : 'false') : $request->allow_additional_restorations; + if (strpos($resourcePath, '{' . $localName . '}') !== false) { + $resourcePath = str_replace('{' . $localName . '}', ObjectSerializer::toPathValue($localValue), $resourcePath); + } else { + $queryParams[$localName] = ObjectSerializer::toQueryValue($localValue); + } + } + // query params if (isset($request->region_likelihood_threshold_percent)) { $localName = lcfirst('RegionLikelihoodThresholdPercent'); $localValue = is_bool($request->region_likelihood_threshold_percent) ? ($request->region_likelihood_threshold_percent ? 'true' : 'false') : $request->region_likelihood_threshold_percent; diff --git a/src/Aspose/BarCode/Configuration.php b/src/Aspose/BarCode/Configuration.php index 1376567..10382d2 100644 --- a/src/Aspose/BarCode/Configuration.php +++ b/src/Aspose/BarCode/Configuration.php @@ -23,7 +23,7 @@ class Configuration implements JsonSerializable * * @var string */ - protected $clientVersion = '23.7.1'; + protected $clientVersion = '23.8.0'; /** * ClientId for API diff --git a/src/Aspose/BarCode/Model/DataMatrixParams.php b/src/Aspose/BarCode/Model/DataMatrixParams.php index 39c4675..df2cfe2 100644 --- a/src/Aspose/BarCode/Model/DataMatrixParams.php +++ b/src/Aspose/BarCode/Model/DataMatrixParams.php @@ -65,7 +65,8 @@ class DataMatrixParams implements ArrayAccess 'data_matrix_ecc' => '\Aspose\BarCode\Model\DataMatrixEccType', 'data_matrix_encode_mode' => '\Aspose\BarCode\Model\DataMatrixEncodeMode', 'rows' => 'int', - 'macro_characters' => '\Aspose\BarCode\Model\MacroCharacter' + 'macro_characters' => '\Aspose\BarCode\Model\MacroCharacter', + 'version' => '\Aspose\BarCode\Model\DataMatrixVersion' ]; /** @@ -80,7 +81,8 @@ class DataMatrixParams implements ArrayAccess 'data_matrix_ecc' => null, 'data_matrix_encode_mode' => null, 'rows' => 'int32', - 'macro_characters' => null + 'macro_characters' => null, + 'version' => null ]; /** @@ -116,7 +118,8 @@ public static function swaggerFormats() 'data_matrix_ecc' => 'DataMatrixEcc', 'data_matrix_encode_mode' => 'DataMatrixEncodeMode', 'rows' => 'Rows', - 'macro_characters' => 'MacroCharacters' + 'macro_characters' => 'MacroCharacters', + 'version' => 'Version' ]; /** @@ -131,7 +134,8 @@ public static function swaggerFormats() 'data_matrix_ecc' => 'setDataMatrixEcc', 'data_matrix_encode_mode' => 'setDataMatrixEncodeMode', 'rows' => 'setRows', - 'macro_characters' => 'setMacroCharacters' + 'macro_characters' => 'setMacroCharacters', + 'version' => 'setVersion' ]; /** @@ -146,7 +150,8 @@ public static function swaggerFormats() 'data_matrix_ecc' => 'getDataMatrixEcc', 'data_matrix_encode_mode' => 'getDataMatrixEncodeMode', 'rows' => 'getRows', - 'macro_characters' => 'getMacroCharacters' + 'macro_characters' => 'getMacroCharacters', + 'version' => 'getVersion' ]; /** @@ -216,6 +221,7 @@ public function __construct(array $data = null) $this->container['data_matrix_encode_mode'] = isset($data['data_matrix_encode_mode']) ? $data['data_matrix_encode_mode'] : null; $this->container['rows'] = isset($data['rows']) ? $data['rows'] : null; $this->container['macro_characters'] = isset($data['macro_characters']) ? $data['macro_characters'] : null; + $this->container['version'] = isset($data['version']) ? $data['version'] : null; } /** @@ -412,6 +418,30 @@ public function setMacroCharacters($macro_characters) return $this; } + /** + * Gets version + * + * @return \Aspose\BarCode\Model\DataMatrixVersion + */ + public function getVersion() + { + return $this->container['version']; + } + + /** + * Sets version + * + * @param \Aspose\BarCode\Model\DataMatrixVersion $version Sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto. + * + * @return $this + */ + public function setVersion($version) + { + $this->container['version'] = $version; + + return $this; + } + /** * Returns true if offset exists. False otherwise. * diff --git a/src/Aspose/BarCode/Model/DataMatrixVersion.php b/src/Aspose/BarCode/Model/DataMatrixVersion.php new file mode 100644 index 0000000..8797004 --- /dev/null +++ b/src/Aspose/BarCode/Model/DataMatrixVersion.php @@ -0,0 +1,401 @@ + + * Copyright (c) 2023 Aspose Pty Ltd + * + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * -------------------------------------------------------------------------------------------------------------------- + */ + +// +// This source code was auto-generated by AsposeBarcodeCloudCodegen. +// + +namespace Aspose\BarCode\Model; + +use Aspose\BarCode\ObjectSerializer; + +/** + * DataMatrixVersion + * + * @description + */ +class DataMatrixVersion +{ + /// + /// Enum value Auto + /// + public const Auto = "Auto"; + + /// + /// Enum value RowsColumns + /// + public const RowsColumns = "RowsColumns"; + + /// + /// Enum value ECC000_9x9 + /// + public const ECC000_9x9 = "ECC000_9x9"; + + /// + /// Enum value ECC000_050_11x11 + /// + public const ECC000_050_11x11 = "ECC000_050_11x11"; + + /// + /// Enum value ECC000_100_13x13 + /// + public const ECC000_100_13x13 = "ECC000_100_13x13"; + + /// + /// Enum value ECC000_100_15x15 + /// + public const ECC000_100_15x15 = "ECC000_100_15x15"; + + /// + /// Enum value ECC000_140_17x17 + /// + public const ECC000_140_17x17 = "ECC000_140_17x17"; + + /// + /// Enum value ECC000_140_19x19 + /// + public const ECC000_140_19x19 = "ECC000_140_19x19"; + + /// + /// Enum value ECC000_140_21x21 + /// + public const ECC000_140_21x21 = "ECC000_140_21x21"; + + /// + /// Enum value ECC000_140_23x23 + /// + public const ECC000_140_23x23 = "ECC000_140_23x23"; + + /// + /// Enum value ECC000_140_25x25 + /// + public const ECC000_140_25x25 = "ECC000_140_25x25"; + + /// + /// Enum value ECC000_140_27x27 + /// + public const ECC000_140_27x27 = "ECC000_140_27x27"; + + /// + /// Enum value ECC000_140_29x29 + /// + public const ECC000_140_29x29 = "ECC000_140_29x29"; + + /// + /// Enum value ECC000_140_31x31 + /// + public const ECC000_140_31x31 = "ECC000_140_31x31"; + + /// + /// Enum value ECC000_140_33x33 + /// + public const ECC000_140_33x33 = "ECC000_140_33x33"; + + /// + /// Enum value ECC000_140_35x35 + /// + public const ECC000_140_35x35 = "ECC000_140_35x35"; + + /// + /// Enum value ECC000_140_37x37 + /// + public const ECC000_140_37x37 = "ECC000_140_37x37"; + + /// + /// Enum value ECC000_140_39x39 + /// + public const ECC000_140_39x39 = "ECC000_140_39x39"; + + /// + /// Enum value ECC000_140_41x41 + /// + public const ECC000_140_41x41 = "ECC000_140_41x41"; + + /// + /// Enum value ECC000_140_43x43 + /// + public const ECC000_140_43x43 = "ECC000_140_43x43"; + + /// + /// Enum value ECC000_140_45x45 + /// + public const ECC000_140_45x45 = "ECC000_140_45x45"; + + /// + /// Enum value ECC000_140_47x47 + /// + public const ECC000_140_47x47 = "ECC000_140_47x47"; + + /// + /// Enum value ECC000_140_49x49 + /// + public const ECC000_140_49x49 = "ECC000_140_49x49"; + + /// + /// Enum value ECC200_10x10 + /// + public const ECC200_10x10 = "ECC200_10x10"; + + /// + /// Enum value ECC200_12x12 + /// + public const ECC200_12x12 = "ECC200_12x12"; + + /// + /// Enum value ECC200_14x14 + /// + public const ECC200_14x14 = "ECC200_14x14"; + + /// + /// Enum value ECC200_16x16 + /// + public const ECC200_16x16 = "ECC200_16x16"; + + /// + /// Enum value ECC200_18x18 + /// + public const ECC200_18x18 = "ECC200_18x18"; + + /// + /// Enum value ECC200_20x20 + /// + public const ECC200_20x20 = "ECC200_20x20"; + + /// + /// Enum value ECC200_22x22 + /// + public const ECC200_22x22 = "ECC200_22x22"; + + /// + /// Enum value ECC200_24x24 + /// + public const ECC200_24x24 = "ECC200_24x24"; + + /// + /// Enum value ECC200_26x26 + /// + public const ECC200_26x26 = "ECC200_26x26"; + + /// + /// Enum value ECC200_32x32 + /// + public const ECC200_32x32 = "ECC200_32x32"; + + /// + /// Enum value ECC200_36x36 + /// + public const ECC200_36x36 = "ECC200_36x36"; + + /// + /// Enum value ECC200_40x40 + /// + public const ECC200_40x40 = "ECC200_40x40"; + + /// + /// Enum value ECC200_44x44 + /// + public const ECC200_44x44 = "ECC200_44x44"; + + /// + /// Enum value ECC200_48x48 + /// + public const ECC200_48x48 = "ECC200_48x48"; + + /// + /// Enum value ECC200_52x52 + /// + public const ECC200_52x52 = "ECC200_52x52"; + + /// + /// Enum value ECC200_64x64 + /// + public const ECC200_64x64 = "ECC200_64x64"; + + /// + /// Enum value ECC200_72x72 + /// + public const ECC200_72x72 = "ECC200_72x72"; + + /// + /// Enum value ECC200_80x80 + /// + public const ECC200_80x80 = "ECC200_80x80"; + + /// + /// Enum value ECC200_88x88 + /// + public const ECC200_88x88 = "ECC200_88x88"; + + /// + /// Enum value ECC200_96x96 + /// + public const ECC200_96x96 = "ECC200_96x96"; + + /// + /// Enum value ECC200_104x104 + /// + public const ECC200_104x104 = "ECC200_104x104"; + + /// + /// Enum value ECC200_120x120 + /// + public const ECC200_120x120 = "ECC200_120x120"; + + /// + /// Enum value ECC200_132x132 + /// + public const ECC200_132x132 = "ECC200_132x132"; + + /// + /// Enum value ECC200_144x144 + /// + public const ECC200_144x144 = "ECC200_144x144"; + + /// + /// Enum value ECC200_8x18 + /// + public const ECC200_8x18 = "ECC200_8x18"; + + /// + /// Enum value ECC200_8x32 + /// + public const ECC200_8x32 = "ECC200_8x32"; + + /// + /// Enum value ECC200_12x26 + /// + public const ECC200_12x26 = "ECC200_12x26"; + + /// + /// Enum value ECC200_12x36 + /// + public const ECC200_12x36 = "ECC200_12x36"; + + /// + /// Enum value ECC200_16x36 + /// + public const ECC200_16x36 = "ECC200_16x36"; + + /// + /// Enum value ECC200_16x48 + /// + public const ECC200_16x48 = "ECC200_16x48"; + + /// + /// Enum value DMRE_8x48 + /// + public const DMRE_8x48 = "DMRE_8x48"; + + /// + /// Enum value DMRE_8x64 + /// + public const DMRE_8x64 = "DMRE_8x64"; + + /// + /// Enum value DMRE_8x80 + /// + public const DMRE_8x80 = "DMRE_8x80"; + + /// + /// Enum value DMRE_8x96 + /// + public const DMRE_8x96 = "DMRE_8x96"; + + /// + /// Enum value DMRE_8x120 + /// + public const DMRE_8x120 = "DMRE_8x120"; + + /// + /// Enum value DMRE_8x144 + /// + public const DMRE_8x144 = "DMRE_8x144"; + + /// + /// Enum value DMRE_12x64 + /// + public const DMRE_12x64 = "DMRE_12x64"; + + /// + /// Enum value DMRE_12x88 + /// + public const DMRE_12x88 = "DMRE_12x88"; + + /// + /// Enum value DMRE_16x64 + /// + public const DMRE_16x64 = "DMRE_16x64"; + + /// + /// Enum value DMRE_20x36 + /// + public const DMRE_20x36 = "DMRE_20x36"; + + /// + /// Enum value DMRE_20x44 + /// + public const DMRE_20x44 = "DMRE_20x44"; + + /// + /// Enum value DMRE_20x64 + /// + public const DMRE_20x64 = "DMRE_20x64"; + + /// + /// Enum value DMRE_22x48 + /// + public const DMRE_22x48 = "DMRE_22x48"; + + /// + /// Enum value DMRE_24x48 + /// + public const DMRE_24x48 = "DMRE_24x48"; + + /// + /// Enum value DMRE_24x64 + /// + public const DMRE_24x64 = "DMRE_24x64"; + + /// + /// Enum value DMRE_26x40 + /// + public const DMRE_26x40 = "DMRE_26x40"; + + /// + /// Enum value DMRE_26x48 + /// + public const DMRE_26x48 = "DMRE_26x48"; + + /// + /// Enum value DMRE_26x64 + /// + public const DMRE_26x64 = "DMRE_26x64"; + +} diff --git a/src/Aspose/BarCode/Model/ReaderParams.php b/src/Aspose/BarCode/Model/ReaderParams.php index cea8a1b..e3eaf61 100644 --- a/src/Aspose/BarCode/Model/ReaderParams.php +++ b/src/Aspose/BarCode/Model/ReaderParams.php @@ -86,6 +86,7 @@ class ReaderParams implements ArrayAccess 'allow_white_spots_removing' => 'bool', 'check_more1_d_variants' => 'bool', 'fast_scan_only' => 'bool', + 'allow_additional_restorations' => 'bool', 'region_likelihood_threshold_percent' => 'double', 'scan_window_sizes' => 'int[]', 'similarity' => 'double', @@ -128,6 +129,7 @@ class ReaderParams implements ArrayAccess 'allow_white_spots_removing' => null, 'check_more1_d_variants' => null, 'fast_scan_only' => null, + 'allow_additional_restorations' => null, 'region_likelihood_threshold_percent' => 'double', 'scan_window_sizes' => 'int32', 'similarity' => 'double', @@ -191,6 +193,7 @@ public static function swaggerFormats() 'allow_white_spots_removing' => 'AllowWhiteSpotsRemoving', 'check_more1_d_variants' => 'CheckMore1DVariants', 'fast_scan_only' => 'FastScanOnly', + 'allow_additional_restorations' => 'AllowAdditionalRestorations', 'region_likelihood_threshold_percent' => 'RegionLikelihoodThresholdPercent', 'scan_window_sizes' => 'ScanWindowSizes', 'similarity' => 'Similarity', @@ -233,6 +236,7 @@ public static function swaggerFormats() 'allow_white_spots_removing' => 'setAllowWhiteSpotsRemoving', 'check_more1_d_variants' => 'setCheckMore1DVariants', 'fast_scan_only' => 'setFastScanOnly', + 'allow_additional_restorations' => 'setAllowAdditionalRestorations', 'region_likelihood_threshold_percent' => 'setRegionLikelihoodThresholdPercent', 'scan_window_sizes' => 'setScanWindowSizes', 'similarity' => 'setSimilarity', @@ -275,6 +279,7 @@ public static function swaggerFormats() 'allow_white_spots_removing' => 'getAllowWhiteSpotsRemoving', 'check_more1_d_variants' => 'getCheckMore1DVariants', 'fast_scan_only' => 'getFastScanOnly', + 'allow_additional_restorations' => 'getAllowAdditionalRestorations', 'region_likelihood_threshold_percent' => 'getRegionLikelihoodThresholdPercent', 'scan_window_sizes' => 'getScanWindowSizes', 'similarity' => 'getSimilarity', @@ -371,6 +376,7 @@ public function __construct(array $data = null) $this->container['allow_white_spots_removing'] = isset($data['allow_white_spots_removing']) ? $data['allow_white_spots_removing'] : null; $this->container['check_more1_d_variants'] = isset($data['check_more1_d_variants']) ? $data['check_more1_d_variants'] : null; $this->container['fast_scan_only'] = isset($data['fast_scan_only']) ? $data['fast_scan_only'] : null; + $this->container['allow_additional_restorations'] = isset($data['allow_additional_restorations']) ? $data['allow_additional_restorations'] : null; $this->container['region_likelihood_threshold_percent'] = isset($data['region_likelihood_threshold_percent']) ? $data['region_likelihood_threshold_percent'] : null; $this->container['scan_window_sizes'] = isset($data['scan_window_sizes']) ? $data['scan_window_sizes'] : null; $this->container['similarity'] = isset($data['similarity']) ? $data['similarity'] : null; @@ -1052,6 +1058,30 @@ public function setFastScanOnly($fast_scan_only) return $this; } + /** + * Gets allow_additional_restorations + * + * @return bool + */ + public function getAllowAdditionalRestorations() + { + return $this->container['allow_additional_restorations']; + } + + /** + * Sets allow_additional_restorations + * + * @param bool $allow_additional_restorations Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. + * + * @return $this + */ + public function setAllowAdditionalRestorations($allow_additional_restorations) + { + $this->container['allow_additional_restorations'] = $allow_additional_restorations; + + return $this; + } + /** * Gets region_likelihood_threshold_percent * diff --git a/src/Aspose/BarCode/Requests/GetBarcodeRecognizeRequest.php b/src/Aspose/BarCode/Requests/GetBarcodeRecognizeRequest.php index 522ebe3..09db9a5 100644 --- a/src/Aspose/BarCode/Requests/GetBarcodeRecognizeRequest.php +++ b/src/Aspose/BarCode/Requests/GetBarcodeRecognizeRequest.php @@ -70,6 +70,7 @@ class GetBarcodeRecognizeRequest * @param bool $allow_white_spots_removing Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. * @param bool $check_more1_d_variants Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. * @param bool $fast_scan_only Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. + * @param bool $allow_additional_restorations Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. * @param double $region_likelihood_threshold_percent 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. * @param int[] $scan_window_sizes 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. * @param double $similarity 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] @@ -80,7 +81,7 @@ class GetBarcodeRecognizeRequest * @param string $storage The image storage. * @param string $folder The image folder. */ - public function __construct($name, $type = null, $checksum_validation = null, $detect_encoding = null, $preset = null, $rect_x = null, $rect_y = null, $rect_width = null, $rect_height = null, $strip_fnc = null, $timeout = null, $median_smoothing_window_size = null, $allow_median_smoothing = null, $allow_complex_background = null, $allow_datamatrix_industrial_barcodes = null, $allow_decreased_image = null, $allow_detect_scan_gap = null, $allow_incorrect_barcodes = null, $allow_invert_image = null, $allow_micro_white_spots_removing = null, $allow_one_d_fast_barcodes_detector = null, $allow_one_d_wiped_bars_restoration = null, $allow_qr_micro_qr_restoration = null, $allow_regular_image = null, $allow_salt_and_pepper_filtering = null, $allow_white_spots_removing = null, $check_more1_d_variants = null, $fast_scan_only = null, $region_likelihood_threshold_percent = null, $scan_window_sizes = null, $similarity = null, $skip_diagonal_search = null, $read_tiny_barcodes = null, $australian_post_encoding_table = null, $ignore_ending_filling_patterns_for_c_table = null, $storage = null, $folder = null) + public function __construct($name, $type = null, $checksum_validation = null, $detect_encoding = null, $preset = null, $rect_x = null, $rect_y = null, $rect_width = null, $rect_height = null, $strip_fnc = null, $timeout = null, $median_smoothing_window_size = null, $allow_median_smoothing = null, $allow_complex_background = null, $allow_datamatrix_industrial_barcodes = null, $allow_decreased_image = null, $allow_detect_scan_gap = null, $allow_incorrect_barcodes = null, $allow_invert_image = null, $allow_micro_white_spots_removing = null, $allow_one_d_fast_barcodes_detector = null, $allow_one_d_wiped_bars_restoration = null, $allow_qr_micro_qr_restoration = null, $allow_regular_image = null, $allow_salt_and_pepper_filtering = null, $allow_white_spots_removing = null, $check_more1_d_variants = null, $fast_scan_only = null, $allow_additional_restorations = null, $region_likelihood_threshold_percent = null, $scan_window_sizes = null, $similarity = null, $skip_diagonal_search = null, $read_tiny_barcodes = null, $australian_post_encoding_table = null, $ignore_ending_filling_patterns_for_c_table = null, $storage = null, $folder = null) { $this->name = $name; $this->type = $type; @@ -110,6 +111,7 @@ public function __construct($name, $type = null, $checksum_validation = null, $d $this->allow_white_spots_removing = $allow_white_spots_removing; $this->check_more1_d_variants = $check_more1_d_variants; $this->fast_scan_only = $fast_scan_only; + $this->allow_additional_restorations = $allow_additional_restorations; $this->region_likelihood_threshold_percent = $region_likelihood_threshold_percent; $this->scan_window_sizes = $scan_window_sizes; $this->similarity = $similarity; @@ -261,6 +263,11 @@ public function __construct($name, $type = null, $checksum_validation = null, $d */ public $fast_scan_only; + /** + * Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. + */ + public $allow_additional_restorations; + /** * 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. */ diff --git a/src/Aspose/BarCode/Requests/PostBarcodeRecognizeFromUrlOrContentRequest.php b/src/Aspose/BarCode/Requests/PostBarcodeRecognizeFromUrlOrContentRequest.php index ac58442..512be83 100644 --- a/src/Aspose/BarCode/Requests/PostBarcodeRecognizeFromUrlOrContentRequest.php +++ b/src/Aspose/BarCode/Requests/PostBarcodeRecognizeFromUrlOrContentRequest.php @@ -69,6 +69,7 @@ class PostBarcodeRecognizeFromUrlOrContentRequest * @param bool $allow_white_spots_removing Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. * @param bool $check_more1_d_variants Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. * @param bool $fast_scan_only Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. + * @param bool $allow_additional_restorations Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. * @param double $region_likelihood_threshold_percent 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. * @param int[] $scan_window_sizes 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. * @param double $similarity 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] @@ -79,7 +80,7 @@ class PostBarcodeRecognizeFromUrlOrContentRequest * @param string $url The image file url. * @param \SplFileObject $image Image data */ - public function __construct($type = null, $checksum_validation = null, $detect_encoding = null, $preset = null, $rect_x = null, $rect_y = null, $rect_width = null, $rect_height = null, $strip_fnc = null, $timeout = null, $median_smoothing_window_size = null, $allow_median_smoothing = null, $allow_complex_background = null, $allow_datamatrix_industrial_barcodes = null, $allow_decreased_image = null, $allow_detect_scan_gap = null, $allow_incorrect_barcodes = null, $allow_invert_image = null, $allow_micro_white_spots_removing = null, $allow_one_d_fast_barcodes_detector = null, $allow_one_d_wiped_bars_restoration = null, $allow_qr_micro_qr_restoration = null, $allow_regular_image = null, $allow_salt_and_pepper_filtering = null, $allow_white_spots_removing = null, $check_more1_d_variants = null, $fast_scan_only = null, $region_likelihood_threshold_percent = null, $scan_window_sizes = null, $similarity = null, $skip_diagonal_search = null, $read_tiny_barcodes = null, $australian_post_encoding_table = null, $ignore_ending_filling_patterns_for_c_table = null, $url = null, $image = null) + public function __construct($type = null, $checksum_validation = null, $detect_encoding = null, $preset = null, $rect_x = null, $rect_y = null, $rect_width = null, $rect_height = null, $strip_fnc = null, $timeout = null, $median_smoothing_window_size = null, $allow_median_smoothing = null, $allow_complex_background = null, $allow_datamatrix_industrial_barcodes = null, $allow_decreased_image = null, $allow_detect_scan_gap = null, $allow_incorrect_barcodes = null, $allow_invert_image = null, $allow_micro_white_spots_removing = null, $allow_one_d_fast_barcodes_detector = null, $allow_one_d_wiped_bars_restoration = null, $allow_qr_micro_qr_restoration = null, $allow_regular_image = null, $allow_salt_and_pepper_filtering = null, $allow_white_spots_removing = null, $check_more1_d_variants = null, $fast_scan_only = null, $allow_additional_restorations = null, $region_likelihood_threshold_percent = null, $scan_window_sizes = null, $similarity = null, $skip_diagonal_search = null, $read_tiny_barcodes = null, $australian_post_encoding_table = null, $ignore_ending_filling_patterns_for_c_table = null, $url = null, $image = null) { $this->type = $type; $this->checksum_validation = $checksum_validation; @@ -108,6 +109,7 @@ public function __construct($type = null, $checksum_validation = null, $detect_e $this->allow_white_spots_removing = $allow_white_spots_removing; $this->check_more1_d_variants = $check_more1_d_variants; $this->fast_scan_only = $fast_scan_only; + $this->allow_additional_restorations = $allow_additional_restorations; $this->region_likelihood_threshold_percent = $region_likelihood_threshold_percent; $this->scan_window_sizes = $scan_window_sizes; $this->similarity = $similarity; @@ -254,6 +256,11 @@ public function __construct($type = null, $checksum_validation = null, $detect_e */ public $fast_scan_only; + /** + * Allows engine using additional image restorations to recognize corrupted barcodes. At this time, it is used only in MicroPdf417 barcode type. Default value: False. + */ + public $allow_additional_restorations; + /** * 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. */