No, nothing to do with BarImage. That never resizes the images, and they are always, and must be, the size of the actual image file.kylergs wrote: Does that matter with BarImage? I had inadvertently already done that with everything except the VU-Bars. I'll have it remove the option from the style when it changes them
It is currently March 29th, 2024, 10:36 am
Negative Space
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Negative Space
-
- Posts: 8
- Joined: May 16th, 2012, 6:35 pm
Re: Negative Space
Alright, other than the album cover, everything is using correctly sized images. Thanks for the helpjsmorley wrote:No, nothing to do with BarImage. That never resizes the images, and they are always, and must be, the size of the actual image file.
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Negative Space
Glad to help. I don't want to overstate the case for the whole image resizing thing. In testing, it looks to me that while it does indeed make a difference, in the grand scheme of things it may not be decisive.
I created a skin with 50 image meters and Update=20, and had a mouse over/leave action toggle W and H on and off. The difference in CPU was visible, but certainly not huge. Rainmeter went from using about 1% of CPU (even with all my other skins still running) to about 2% when W and H were "on".
I created a skin with 50 image meters and Update=20, and had a mouse over/leave action toggle W and H on and off. The difference in CPU was visible, but certainly not huge. Rainmeter went from using about 1% of CPU (even with all my other skins still running) to about 2% when W and H were "on".
-
- Posts: 8
- Joined: May 16th, 2012, 6:35 pm
Re: Negative Space
Well, the CPU usage isn't at 8% any more so it should be OK.
Since you're a mod there as well, do you think it's okay to post the updated version to the subreddit?
Since you're a mod there as well, do you think it's okay to post the updated version to the subreddit?
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Negative Space
I don't have any opinion on Reddit. I am a mod there, but to be honest rarely go on, and don't want to speak for whatever their rules are.
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Negative Space
Update to my test...
Wow. I did discover that with my test skin:
50 image meters, Update=20, W and H set to the actual size of the image.
Turning off or on the W and H seemed to make minimal difference.
HOWEVER
If I added DynamicVariables=1 to the meters, then the difference becomes astronomical. The skin goes from using 1% to 2% of CPU when W and H is off / on to using 1% to 30% of CPU when W and H is off / on.
So the key here is that W and H indeed make a huge difference, but only if you have DynamicVariables set on the Image meter.
Wow. I did discover that with my test skin:
50 image meters, Update=20, W and H set to the actual size of the image.
Turning off or on the W and H seemed to make minimal difference.
HOWEVER
If I added DynamicVariables=1 to the meters, then the difference becomes astronomical. The skin goes from using 1% to 2% of CPU when W and H is off / on to using 1% to 30% of CPU when W and H is off / on.
So the key here is that W and H indeed make a huge difference, but only if you have DynamicVariables set on the Image meter.
-
- Posts: 8
- Joined: May 16th, 2012, 6:35 pm
Re: Negative Space
jsmorley wrote:Update to my test...
Wow. I did discover that with my test skin:
50 image meters, Update=20, W and H set to the actual size of the image.
Turning off or on the W and H seemed to make minimal difference.
HOWEVER
If I added DynamicVariables=1 to the meters, then the difference becomes astronomical. The skin goes from using 1% to 2% of CPU when W and H is off / on to using 1% to 30% of CPU when W and H is off / on.
So the key here is that W and H indeed make a huge difference, but only if you have DynamicVariables set on the Image meter.
I'll look into that, I should make sure those two features never overlap
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Negative Space
Here is my test:
Mouse Off: Mouse Over: The more the difference between W and H and the actual image size is, the worse the impact is, If you zoom out a bunch of images and have DynamicVariables=1 on them, you can really tear up the CPU.
Mouse Off: Mouse Over: The more the difference between W and H and the actual image size is, the worse the impact is, If you zoom out a bunch of images and have DynamicVariables=1 on them, you can really tear up the CPU.
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: Negative Space
Thanks jsmorley for your test, never noticed something like this, but the update in my skins is (almost) always 1000 (if not -1), so I can think that this is noticeable only with updates minor than default.
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Negative Space
Right. While the impact exists at any Update rate other than -1, it is only going to be noticeable if the Update is pretty low. Mostly this is all about fine tuning a skin that needs to work hard.fonpaolo wrote:Thanks jsmorley for your test, never noticed something like this, but the update in my skins is (almost) always 1000 (if not -1), so I can think that this is noticeable only with updates minor than default.