The "images" should be icons, not full-on graphics. So probably one of these dimensions (depending on screen resolution):
128 x 128 pixels
96 x 96 pixels
180 x 180 pixels
72 x 72 pixels
64 x 64 pixels
24 x 24 pixels
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I search Internet and get several images download. Then use the below to add them on StatusStripItems of Powershell Form as below:
$statusstrip1.Items.Add('Text', [System.Drawing.Image]::FromFile('c:\image.png'))
I found the images show poor quality. Is it the issue of image size? If so, what is the right pixel size? Thanks.
The "images" should be icons, not full-on graphics. So probably one of these dimensions (depending on screen resolution):
128 x 128 pixels
96 x 96 pixels
180 x 180 pixels
72 x 72 pixels
64 x 64 pixels
24 x 24 pixels
Hi Ian3-9218,
The ImageScalingSize property may help with the image quality.
You may find the following article helpful:
I hope this answers your question.
-----------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--