Updating images in a wpf application


18-Oct-2017 02:37

When the output area and the image have different aspect ratios, the image is distorted by this stretching.

To make an Image preserve the aspect ratio of the image, set this property to Uniform, that is the default value of Stretch.

The lock is in place because there is another routine to save the current image, and I don't want to do this while it is being updated: Answer: On another PC the CPU is only 18%, so not sure why the laptop fan is going so hard.

Update The camera images are quite large - 2448 x 2048 x 3 bytes.

The Image Class The Image class is used to load and view an image in WPF.The Up Only value indicates that the image is scaled upward only when it is smaller than the parent.