The LoadBitmapResize method maintains the aspect ratio.
You find a small
example in the German forum.
View attachment 62182
In the upper image the ImageView.Width is wider and in the lower image the ImageView.Height is higher.
The pink areas are Panels with the same dimensions as the imagvies which are added to show the difference between the original ImageView dimensions and the displayed image.