The Mugen Fighters Guild
M.U.G.E.N Central => Development => Topic started by: electrocaid on June 14, 2014, 11:35:16 am
-
Hello,
I'm currently trying to solve the hereabove mentionned puzzle:
How to gather - if possible easily - the splitted parts of an image divided in 3 RGB channels + 1 alpha channel?
I manage the merging of the 3 RGB channels but i don't know at all how to add the alpha channel to recover the original image
please help!!!
-
This will work, I use GIMP
- In original image: Layer/Mask/Add layer mask and init to anything (white is OK)
- Load the greyscale for the alpha image as layer in same image or in another image.
- Select all & copy to clipboard
- Back to original image layer, make sure it's selected, you can also check that Layer/Mask/Edit layer mask is still set
- Edit/paste: this creates a floating selection
- Layer/Anchor layer: moves floating selection to layer mask
- Apply layer mask
-
thanks for your help but i'm still having headaches....
even if i've GIMP...
in your explanation: original image = the jpeg file from the merging of RGB channels ?
Load the greyscale for the alpha image as layer in same image or in another image
=- open the alpha channel
- image -> grayscale
sorry but there's really something that's missing me.... :bigcry:
-
Are you doing RGB before putting the 3 pcx images on Fighter Factory?
-
Are you doing RGB before putting the 3 pcx images on Fighter Factory?
well, this isn't exactly the point: i'm not using fighter factory at all
i'm trying to recreate some images extracted from bg sffs with sffextract
-
Sorry my mistake.
-
Nice try
anyway, i've tried tried tried & tried again without result : i still can't merge decently the alpha channel with the RGB image :wall:
-
If you use Photoshop, paste every layer in a new file and then in layer blend modes (where it's multiplay, overlay and those things) click on Linear Dodge on every layer and tadaaaaaa, you have the original image merged.
If I'm not clear, here I leave you an example: http://www.mediafire.com/download/axr2x4ktkm9mjmg/Test.psd
-
nice try too :)
tadaaaa: i used photoshop but without success :(
as i your example: all three pcx in grayscale mode... but nothing except a grey image of the original :sick:
here are the files that i'm trying to gather: https://mega.co.nz/#!txc0yKzC!V5_QxxE34R_ezQhEUcGkLhAbZusb7yukt0TIpAuwwAY
do you arrive to something?
-
Hmmm... check this out
http://www.mediafire.com/download/3xs1ygs3goasnuz/stage_tool.rar
-
my my my....
thanks a lot but i'm very very frustrated: how is it possible for me to be so stupid...???
this is totaly unbelievable not to understand how to do :'(
-
Maybe when you created a file you had the settings for "grayscale" instead of RGB 8 Bits, but don't worry. There you have them in RGB colors again :D
And no problem, buddy! I like helping when I can :)
-
... well, if i'm correct, i've first tried with RGB sheet & then, by despair, with grayscale one...
the problem is that i should learn how to do that by myself because there will surely be tons of other ones in future (i've already tried to "revive" more than 400 bgs...)
i don't wanna abuse of your kindness... ;)
-
If you're using Photoshop, there's no need to bother with multiple files, multiple layers with different blend modes, etc etc. Just open the Channels window (Window menu -> Channels, it appears as a tab on the Layers window by default) and simply paste each of the greyscale images into their corresponding Colour Channel. Click the New Channel button at the bottom of the window to add an Alpha Channel, and paste the Alpha image there. Done.