NetSparkle is a C#, cross-platform, highly-configurable software update framework with pre-built UI for .NET developers compatible with .NET 4.6.2/.NET 6+, WinForms, WPF, and Avalonia; uses Ed25519 signatures. View basic usage here in the README and try the samples for yourself.
AutoSize - The PictureBox is sized equal to the size of the image that it contains.
CenterImage - The image is displayed in the center if the PictureBox is larger than the image. If the image is larger than the PictureBox, the picture is placed in the center of the PictureBox and the outside edges are clipped.
Normal - The image is placed in the upper-left corner of the PictureBox. The image is clipped if it is larger than the PictureBox it is contained in.
StretchImage - The image within the PictureBox is stretched or shrunk to fit the size of the PictureBox.
Zoom - The size of the image is increased or decreased maintaining the size ratio.
use a SizeMode of CenterImage and the Form Constructor goes to the trouble of creating a 48 x 48 version of the icon.
The others don't and so strange things happen with larger images. As I said in Issue #212, I think this may be part of issue #123's problems. I have a user with this problem (his buttons are not visible on the Form at all). I'll see if I can fix him.
I believe that
Use AutoSize where (I think) Zoom is intended
See: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.pictureboxsizemode?view=net-5.0
says
I note that
use a SizeMode of CenterImage and the Form Constructor goes to the trouble of creating a 48 x 48 version of the icon. The others don't and so strange things happen with larger images. As I said in Issue #212, I think this may be part of issue #123's problems. I have a user with this problem (his buttons are not visible on the Form at all). I'll see if I can fix him.