Populate the ImageFileBase64 property but resizes the Image to respect the maximum width if necessary.

Syntax

ISOcrRequest_TextDetection.LoadImageBase64(imageFileBase64, [maxWidthPixels], [desaturate], [optimiseImageSize])

Parameters

NameTypeOptionalByRefDescription
imageFileBase64 String Base-64 encoded Image Data.
maxWidthPixels Integer Optional If specified, ensures the Image is the maximum specified width. If omitted, a value of 0 is assumed.
desaturate Boolean Optional Indicates whether to Desaturate (make grey-scale) the Image. This may result in performance gains. If omitted, a value of False is assumed.
optimiseImageSize Boolean Optional If True, converts the image to a JPEG rather than the default PNG format which is typically larger. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISOcrRequest_TextDetection
Namespace:
Intersoft.ISOcr6
Assembly:
ISOcr6, Version=6.0.3
Target Framework:
.NET 9.0