| | |
| | | const exclusions = Array.from(new Set([ |
| | | 'ScanRotate', |
| | | 'ImageFormat <> ifBlackWhite', |
| | | |
| | | |
| | | ])).join('|') |
| | | // 您提供的關鍵字 (以 | 分隔) |
| | | const keywordsStr = Array.from(new Set([ |
| | | 'TTiffGraphic', |
| | | 'TDibGraphic', |
| | | 'DeskewImg', |
| | | 'Rotate', |
| | | 'BWTif2Jpg', |
| | | 'BmpConverJpg', |
| | | 'BrightnessImg', // iis_image_process |
| | | 'CheckNeedCrop', |
| | | 'CheckSize', |
| | | 'CleanupBorder', |
| | | 'ClearLine', |
| | | 'Color2BW_RTS', // iis_image_process |
| | | 'Color2tif', |
| | | 'ConvertTo256Gray', |
| | | 'ConvertToBW', |
| | | 'ConvertToGray', |
| | | 'CreateDraft', |
| | | 'CreateNote', |
| | | 'CreateReportImg', |
| | | 'CreateReportImg_JSON', // iis_image_process |
| | | 'CreateStamp', // iis_image_process |
| | | 'CropImg', |
| | | 'DeskewImg', |
| | | 'DpiResize', |
| | | 'DrawPointLine', |
| | | 'Emboss', |
| | | 'FieldMask', |
| | | 'FilterColor', // iis_image_process |
| | | 'FindBlackPoint', // iis_image_process |
| | | 'FindPoint', |
| | | 'GetBlackSpots', // iis_image_process |
| | | 'GetExif_CaptureDateTime', |
| | | 'GetPixBW', |
| | | 'GetPosAngle', |
| | | 'GetSelectRect', |
| | | 'GetSelectRect2String', // iis_image_process |
| | | 'GetSelectRect_Back', |
| | | 'GetSelectRect_Black2String', |
| | | 'GetSiteOMR', |
| | | 'GetTag', // |
| | | 'Get_OMR', |
| | | 'Gray2BW_RTS', // iis_image_process |
| | | 'ImageProcessor.anchorAnalyzer', |
| | | 'ImageProcessor.barcodeRecognizer', |
| | | 'ImageProcessor.converter', |
| | | 'ImageProcessor.transformer', |
| | | 'ImageReSize_FormID', |
| | | 'ImageReSize_tmp', |
| | | 'CheckNeedCrop', |
| | | 'ImageProcessor.transformer', |
| | | 'ConvertToBW', |
| | | 'ConvertToGray', |
| | | 'ImageResize', |
| | | 'ImageResize', // iis_image_process |
| | | 'Image_Smooth', |
| | | 'NegativeImg', |
| | | 'CleanupBorder', |
| | | 'ImageProcessor.converter', |
| | | 'JpgReSize_Exif', |
| | | 'JpgReSize_Exif', // iis |
| | | 'MpsGetBarcode', |
| | | 'Get_OMR', |
| | | 'ImageProcessor.barcodeRecognizer', |
| | | 'FindPoint', |
| | | 'CheckSize', |
| | | 'GetSiteOMR', |
| | | 'ImageProcessor.anchorAnalyzer', |
| | | 'NegativeImg', |
| | | 'NegativeImg', |
| | | 'PrintBarcode', // iis |
| | | 'Rotate', |
| | | 'SaveAnnotation', |
| | | 'SetSelectRect', |
| | | 'SetSelectRect_Original', |
| | | 'SetTag', // iis |
| | | 'ShowKeyinRect', // iis |
| | | 'TDibGraphic', |
| | | 'TJpegGraphic', |
| | | 'DpiResize', |
| | | 'TNBCleanupBorderTransform', // iis |
| | | 'TTiffGraphic', |
| | | 'TWatermarkTransform', // iis |
| | | 'Watermark', |
| | | 'Watermark1', |
| | | 'Watermark1_Hong', // iis |
| | | 'Watermark1_Hong_New', |
| | | 'Watermark2', |
| | | |
| | | // 以下可省 |
| | | 'SaveQuality', |
| | | 'FJpgCompression', |
| | | 'ifTrueColor', |
| | | 'ifGray256', |
| | | 'CleanupBorder', |
| | | 'ConvertToBW', |
| | | 'ConvertToGray', |
| | | 'FJpgCompression', |
| | | 'Image_Smooth', |
| | | 'NegativeImg', |
| | | 'CleanupBorder', |
| | | 'SaveQuality', |
| | | 'ifBlackWhite', |
| | | 'ifColor25', |
| | | 'ifGray256', |
| | | 'ifTrueColor', |
| | | 'tcGroup4', |
| | | 'tcPackBits', |
| | | 'tcJpeg', |
| | | 'ifColor25' |
| | | 'tcPackBits', |
| | | ])).join('|') |
| | | // 執行腳本 (請確認您的目標檔案名稱,預設為 CB_IMGPSScanImp.pas) |
| | | const targetFiles = [ |