rearrange a grid's values according to new dimensions Outputs the redimensioned data as a grid. dimension list, (120 160 3) in this example. same as the dimension list of #import the elements of this grid are serialized. if the resulting grid must be larger, the sequence is repeated as much as necessary. if the resulting grid must be smaller, the sequence is truncated. then the elements are deserialized to form the resulting grid. example: with a 240 320 RGB image, [#redim 120 640 3] will visually separate the even lines (left) from the odd lines (right). contrary to this, [#redim 640 120 3] will split every line and put its left half on a even line and the right half on the following odd line. [#redim] 480 320 3 will repeat the input image twice in the output image. [#redim] 240 50 3 will only keep the 50 top lines. default: ()