Please Add Alpha Channel to BMP3 Format
Posted: 2016-07-12T20:48:36-07:00
EDIT: I changed the thread title to better reflect the issue. Please refer to my latest posts; the OP is kind of a digression.
PREAMBLE: This needs to be addressed, otherwise Visual Studio C++ developers cannot use transparent bitmaps into their .rc files. Like at all. Period. Zero. Hours of frustrated Googling and experimentation have proven that enough for me.
So, I need to be able to convert images of various formats into a very specific BMP format. To be very specific, I have run "identify -verbose my.bmp", where "my.bmp" has the correct format (which btw came with VS), and you can view that here: http://pastebin.com/2uWLSydd
So, it is a 32-bit RGBA BMP. Simple enough it would seem, right? Not at all.
Let's start with this PNG: https://cdn1.iconfinder.com/data/icons/ ... ngs-32.png
Download it, view it with your browser or whatever, and you'll see that it is a black image with a transparent background. Let's "identify" this PNG, which you can view here: http://pastebin.com/4FisQ7zn
Because it only has a black color, it only has 1 gray channel and an 8-bit alpha channel.
So now all we have to do is "convert" this guy, because ImageMagick is such a convenient and great program, right? Hopefully yes, but I haven't had any luck so far, even with these following commands:
convert a.png a.bmp
convert a.png -depth 32 -type truecolor config.bmp
even though I specify -type, I still get output along these lines: http://pastebin.com/RmFSdjds
<rant>
Also as a side note, GIMP cannot export to this format, neither can mspaint.exe, neither can Paint.NET, neither can the Visual Studio image editor. and no, I'm not going to risk my computer getting rootkitted into a botnet by pirating PhotoShop, so that's not an option either.
So, hopefully an ImageMagick guru can come along and prove me wrong that ImageMagick can in fact convert to this format, which will relieve some of the stress even though this issue shouldn't even been there in the first place, because I feel like an idiot Googling all over for the place for something so damn simple, yet Google comes up with absolutely nothing. For something so simple. Generally speaking when something doesnt appear on Google it means everybody else already knew how to do it, being that simple, YET NOTHING *** WORKED.
But I don't give up, I'm way too proud for that. I'm not going to settle for a non-transparent 24bit, just because it _should_ be really simple to get transparent bitmaps in 2016. So I hope the person still reading isn't too provoked by this type of language or it results in me getting banned or whatever, but my I don't give a *** meter has surpassed the limit by now. So, there you have it.
Also if I do get banned I'll probably just register again with a proxy tomorrow when I'm less ticked off.
[MOD note: two words removed.]
PREAMBLE: This needs to be addressed, otherwise Visual Studio C++ developers cannot use transparent bitmaps into their .rc files. Like at all. Period. Zero. Hours of frustrated Googling and experimentation have proven that enough for me.
So, I need to be able to convert images of various formats into a very specific BMP format. To be very specific, I have run "identify -verbose my.bmp", where "my.bmp" has the correct format (which btw came with VS), and you can view that here: http://pastebin.com/2uWLSydd
So, it is a 32-bit RGBA BMP. Simple enough it would seem, right? Not at all.
Let's start with this PNG: https://cdn1.iconfinder.com/data/icons/ ... ngs-32.png
Download it, view it with your browser or whatever, and you'll see that it is a black image with a transparent background. Let's "identify" this PNG, which you can view here: http://pastebin.com/4FisQ7zn
Because it only has a black color, it only has 1 gray channel and an 8-bit alpha channel.
So now all we have to do is "convert" this guy, because ImageMagick is such a convenient and great program, right? Hopefully yes, but I haven't had any luck so far, even with these following commands:
convert a.png a.bmp
convert a.png -depth 32 -type truecolor config.bmp
even though I specify -type, I still get output along these lines: http://pastebin.com/RmFSdjds
<rant>
Also as a side note, GIMP cannot export to this format, neither can mspaint.exe, neither can Paint.NET, neither can the Visual Studio image editor. and no, I'm not going to risk my computer getting rootkitted into a botnet by pirating PhotoShop, so that's not an option either.
So, hopefully an ImageMagick guru can come along and prove me wrong that ImageMagick can in fact convert to this format, which will relieve some of the stress even though this issue shouldn't even been there in the first place, because I feel like an idiot Googling all over for the place for something so damn simple, yet Google comes up with absolutely nothing. For something so simple. Generally speaking when something doesnt appear on Google it means everybody else already knew how to do it, being that simple, YET NOTHING *** WORKED.
But I don't give up, I'm way too proud for that. I'm not going to settle for a non-transparent 24bit, just because it _should_ be really simple to get transparent bitmaps in 2016. So I hope the person still reading isn't too provoked by this type of language or it results in me getting banned or whatever, but my I don't give a *** meter has surpassed the limit by now. So, there you have it.
Also if I do get banned I'll probably just register again with a proxy tomorrow when I'm less ticked off.
[MOD note: two words removed.]