Codeunit "Image Handler Management"

ID 5080
Namespace: System.Media

Methods

ScaleDown

[TryFunction]
procedure ScaleDown(var SourceImageInStream: InStream, var ResizedImageOutStream: OutStream, NewWidth: Integer, NewHeight: Integer): Boolean

Parameters

Name Type Description
SourceImageInStream InStream
ResizedImageOutStream OutStream
NewWidth Integer
NewHeight Integer

Returns

Type Description
Boolean

ScaleDownFromBlob

procedure ScaleDownFromBlob(var TempBlob: Codeunit "Temp Blob", NewWidth: Integer, NewHeight: Integer): Boolean

Parameters

Name Type Description
TempBlob System.Utilities."Temp Blob"
NewWidth Integer
NewHeight Integer

Returns

Type Description
Boolean

SetQuality

procedure SetQuality(NewImageQuality: Integer)

Parameters

Name Type Description
NewImageQuality Integer

GetImageSize

[TryFunction]
procedure GetImageSize(ImageInStream: InStream, var Width: Integer, var Height: Integer): Boolean

Parameters

Name Type Description
ImageInStream InStream
Width Integer
Height Integer

Returns

Type Description
Boolean

GetImageSizeBlob

[TryFunction]
procedure GetImageSizeBlob(var TempBlob: Codeunit "Temp Blob", var Width: Integer, var Height: Integer): Boolean

Parameters

Name Type Description
TempBlob System.Utilities."Temp Blob"
Width Integer
Height Integer

Returns

Type Description
Boolean

See also