Not so easy, as this thread proves - let me clarify: it's not just about the extension, being a bitmap or having the proper resolution, it also has to be the right kind of bitmap, e.g. the right color depth, bitmap version, DPI, compression, etc. that are accepted by the skin packager (those are the properties I referrred to above, since the OP already followed the first three requirements). Both ACDSee and XnView MP (most likely, GIMP too), as well as other image viewers / editors out there, show such differences between the bitmap you posted (which works) and the bitmap the OP posted (which doesn't). Didn't bother to investigate exactly which of those differences in properties were the culprit here, but one (or more) of them were.
It is currently May 21st, 2024, 2:57 pm
"Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
-
- Rainmeter Sage
- Posts: 7296
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
-
- Rainmeter Sage
- Posts: 16250
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
Well, I think if the bitmap has the right size (as said previously 72,054 bytes, or 70.3 KB), the image can be used, otherwise I assume it can't be. Still simple in my opinion...
-
- Posts: 5
- Joined: October 22nd, 2023, 6:45 pm
- Location: United Kingdom
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
Just tried it now and can confirm that the .bmp file that you posted balala does indeed work for me, and it displays correctly when installing the .rmskin file! Hopefully I can figure out how to get images into the right format in the future with the last few posts you both have sent, thanks again for all your help!
-
- Rainmeter Sage
- Posts: 7296
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
-
- Rainmeter Sage
- Posts: 16250
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
Open the image in the old Paint app and make a Save as..., saving the file as a .bmp file. It definitely will work...Jonah Ling wrote: ↑October 24th, 2023, 10:37 am Hopefully I can figure out how to get images into the right format in the future with the last few posts you both have sent,
-
- Rainmeter Sage
- Posts: 5414
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
The issue was most likely the bit depth of the bitmap image. Headers should be set to a bit depth of 24-bit; higher settings (if set to 32-bit) will be invalid for use as headers in skins.Jonah Ling wrote: ↑October 24th, 2023, 10:37 am Just tried it now and can confirm that the .bmp file that you posted balala does indeed work for me, and it displays correctly when installing the .rmskin file! Hopefully I can figure out how to get images into the right format in the future with the last few posts you both have sent, thanks again for all your help!
In paint.net program the option is available in the BMP save dialog: As mentioned, other graphic editors offer similar options when saving bitmap images.
You do not have the required permissions to view the files attached to this post.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 7296
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
So it's not as extremely simple as having the right resolution and size, after all? Hmm, balala must disagree, but he once advised me not to argue...eclectic-tech wrote: ↑February 25th, 2024, 1:31 am The issue was most likely the bit depth of the bitmap image. Headers should be set to a bit depth of 24-bit; higher settings (if set to 32-bit) will be invalid for use as headers in skins.
-
- Rainmeter Sage
- Posts: 5414
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
Well, if I hadn't had this happen to me recently (a bitmap set to 32-bit depth) rejected as "invalid", I probably wouldn't have thought about this at all.Yincognito wrote: ↑February 25th, 2024, 2:52 am So it's not as extremely simple as having the right resolution and size, after all? Hmm, balala must disagree, but he once advised me not to argue...
There may be other reasons for "invalid" bitmaps, so feel free to argue the point
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 16250
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Rainmeter Sage
- Posts: 7296
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: "Invalid .bmp file" Error When Selecting a Header Image in the .rmskin Packager
Yep, indeed. I already argued for more or less what you said above, but gave up so as to not "escalate" the "dispute". Eventually, it looks like you experienced what I was saying all along, so the "proof" finally exists.eclectic-tech wrote: ↑February 25th, 2024, 4:46 am Well, if I hadn't had this happen to me recently (a bitmap set to 32-bit depth) rejected as "invalid", I probably wouldn't have thought about this at all.
There may be other reasons for "invalid" bitmaps, so feel free to argue the point