For some reason certain PNG files won't display and I can't figure out why (see attached). I've seen this in other skins but the example is from Hero. The files exist and the code in the .ini is identical across all four of them but only two display the background PNG. This was a problem in 4.0 and I just upgraded to the 4.1 beta but no change. Any ideas?
Windows 7 SP1.
It is currently April 24th, 2024, 10:52 am
Some PNG files won't display
-
- Posts: 7
- Joined: September 15th, 2017, 12:32 pm
Some PNG files won't display
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Some PNG files won't display
Can you attach an image that won't display?
-
- Posts: 7
- Joined: September 15th, 2017, 12:32 pm
Re: Some PNG files won't display
Sure. In this skin the file is the same across all four and has the same name.
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Some PNG files won't display
Dunno. Image works fine for me.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeterImage]
Meter=Image
ImageName="C:\DN\bot200.png"
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Some PNG files won't display
I suspect you have some typo in either ImagePath or ImageName on those first two sections in the picture of the skin(s) you posted.
You might look at About / Log to see if you are getting any error messages.
https://docs.rainmeter.net/manual/user-interface/about/#LogTab
You might look at About / Log to see if you are getting any error messages.
https://docs.rainmeter.net/manual/user-interface/about/#LogTab
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Some PNG files won't display
As jsmorley said, probably there is a conflict or typo. tommasz1, could you please post the [Rainmeter] sections of all four skins?jsmorley wrote:I suspect you have some typo in either ImagePath or ImageName on those first two sections in the picture of the skin(s) you posted.
-
- Posts: 7
- Joined: September 15th, 2017, 12:32 pm
Re: Some PNG files won't display
Attached the headers from all four .ini files and the ImageName section from one .ini that works and one that doesn't.
Note: No ImagePath is used and all the PNG files are in the same directory as the .ini.
Note: No ImagePath is used and all the PNG files are in the same directory as the .ini.
Code: Select all
========================================================================================
Headers:
;=======================================================================================
;
; Arkan Tab for Rainmeter
; Drive Information
; http://aidaaah.deviantart.com
;
;=======================================================================================
[Rainmeter]
Author=aidaaah@rocketmail.com
AppVersion=1.1
Update=60000
MouseOverAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
[Metadata]
Name=Drive Information | Bottom
Config=ArkanTab | Drive Info | Drive - Bottom
Description=Drive Information
Instructions=Change drive letters in [Variable] section.
Version=1.0
Tags=Drive | Information | Arkan | Tab | aidaaah | ;)
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Arkan Tab\Preview.png
;=======================================================================================
;
; Arkan Tab for Rainmeter
; Network Information
; http://aidaaah.deviantart.com
;
;=======================================================================================
[Rainmeter]
Author=aidaaah@rocketmail.com
AppVersion=1.1
Update=1000
MouseOverAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
[Metadata]
Name=Network Information | Bottom
Config=ArkanTab | Network Info | Network - Bottom
Description=Network Information
Instructions=
Version=1.0
Tags=Network | Information | Arkan | Tab | aidaaah | ;)
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Arkan Tab\Preview.png
;=======================================================================================
;
; Arkan Tab for Rainmeter
; System Information
; http://aidaaah.deviantart.com
;
;=======================================================================================
[Rainmeter]
Author=aidaaah@rocketmail.com
AppVersion=1.1
Update=1000
MouseOverAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
[Metadata]
Name=System Information | Bottom
Config=ArkanTab | System Info | System - Bottom
Description=System Information
Instructions=
Version=1.0
Tags=System | Information | Arkan | Tab | aidaaah | ;)
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Arkan Tab\Preview.png
;=======================================================================================
;
; Arkan Tab for Rainmeter
; System Resources
; http://aidaaah.deviantart.com
;
;=======================================================================================
[Rainmeter]
Author=aidaaah@rocketmail.com
AppVersion=1.1
Update=1000
MouseOverAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterMoveMeter 0 220 Overlay1][!RainmeterRedraw]
[Metadata]
Name=System Resources | Bottom
Config=ArkanTab | System Resources | System Resources - Bottom
Description=System Resources
Instructions=
Version=1.0
Tags=System | Resources | Arkan | Tab | aidaaah | ;)
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Arkan Tab\Preview.png
=================================================================================
ImageName sections
[Background]
Meter=IMAGE
X=0
Y=0
ImageName=bot200.png
;H=200
;W=200
Hidden=1
[Background]
Meter=IMAGE
X=0
Y=0
ImageName=bot200.png
;H=200
;W=200
Hidden=1
Last edited by fonpaolo on September 20th, 2017, 7:04 pm, edited 1 time in total.
Reason: Please use the [code] tags to display your code
Reason: Please use the [code] tags to display your code
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Some PNG files won't display
What happens when you remove the Hidden=1 on the meters?
-
- Posts: 7
- Joined: September 15th, 2017, 12:32 pm
Re: Some PNG files won't display
Nothing happens. I also tried changing it to 0 and 2 and nothing happen either.
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Some PNG files won't display
Sorry posted my reply too late...tommasz1 wrote:Attached the headers from all four .ini files and the ImageName section from one .ini that works and one that doesn't.
Note: No ImagePath is used and all the PNG files are in the same directory as the .ini.
The posted codes don't have Background options in their [Rainmeter] sections, as I thought they have. So, the background images are added probably through image meters. In fact this is probably true, because the code of the System Resources has a [Background] image meter, which contains the not shown image. As jsmorley said, try first to remove its Hidden=1 option. Check all codes which don't show the background, looking for the same [Background] image meters and remove the Hidden=1 option everywhere. Does this help?