Back to FabImage Studio website

You are here: Start » Filter Reference » Array » Array Transforms » ResizeArray_Relative

ResizeArray_Relative


Module: FoundationLite

Removes elements at the end of an array until it reaches the requested new size based on scale ratio.

Name Type Range Description
Input value inArray <T>Array
Input value inScale Real 0.0 - 1.0
Input value inMinSize Integer* 0 -
Input value inMaxSize Integer* 0 -
Output value outArray <T>Array

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError inMinSize is greater than inMaxSize in Resize_ArrayRelative.
DomainError Minimum size of new array is greater than input array size in ResizeArray_Relative.

Complexity Level

This filter is available on Expert Complexity Level.