It can be configured as FIT_XY, FIT_CENTER, CENTER_CROP and CENTER:
FIT_XY: Considers the X and Y scale so the original image matches to the predicted dimensions for the UI visualization. It can change the image proportion.
FIT_CENTER: Considers a computed scale that will keep the image’s original proportion and also guarantees that it entirely fits on the UI’s space. At least two axes (X or Y) will serve. The result is centralized on the image’s local.
CENTER_CROP: Considers an uniform scale (keeping the image’s proportion) so both image’s dimensions (width and height) will be equal or bigger than the dimension correspondent to UI’s view.
CENTER: center image that will be visualized, but not redimensioned.