Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues with color to alpha borking background color.
#1
I am experiencing an issue trying to add semi transparency to this spectre and full transparency to the grey background.   I select the entire image and choose color to alpha, I select grey as the color... If I set the threshold (too low I guess) and it seems make the background this dark blue/green color that is not transparent at all?  What am I doing wrong?
[Image: 79cVLiI.jpeg]
Reply
#2
Is that the only image you have ?

Do you have the symbol and the "spectre" as separate images ? If you have then post them.
Reply
#3
I do not, it is an in game screenshot from Skyrim. Intended for use with this mod. https://www.nexusmods.com/skyrimspeciale...ods/123521 ... So they need to be from in game during an active animation with the applicable effects. I use an in game review studio that allows me to spawn creatures inside a white, black, green or blue room, which becomes the background. I have been using the fuzzy select tool for some creatures, which can be a tedious pain depending on the creature. But the ones that are fully semi transparent I have issues with color to alpha.
Reply
#4
Not perfect but I tried this:
Copy the original layer and desaturate the layer(Colours / Desaturate / Mono mixer - play with the sliders)
Set the other original layer not visible
Copy the desaturated layer,optimise with: Colours / Brightness Contrast - use contrast  and remove white background with: Colours / Color to Alpha
Set the desaturated layer not visible
Copy the desaturated layer a few times to darken the object
Make a new layer with this layers : New from Visible and set the desaturated copied layers not visble
Select the dark object with the fuzzy select tool, and make a copy from the original layer
Select one of the copies and 'Add Layer Mask' / From selection
Copy this layer and invert the layer mask from this layer :    Colours / Invert
Play with the layer opacity
A small example from the original :

.7z   spectre.7z (Size: 340.83 KB / Downloads: 5)
Reply
#5
Still not sure what is required Wink Instead of fuzzy select maybe use color select to obtain a white BG (leave alpha off for the moment). Color select with draw mask enabled - click and drag to define a selection then Edit -> Cut then Select -> None.

Now apply color-to-alpha and you might have more success with the white BG.

Sometimes the eraser tool in anti-erase mode can restore parts of the image.

For tweaking transparency. The curves tool using the Alpha channel.

Some of that might / might not be useful. I can just get it into a 60 second animation https://i.imgur.com/0WrmryZ.mp4

Another possibility is the gmic_gimp_qt plugin which has an interactive-extract filter, but that is different story.
Reply
#6
"click and drag to define a selection" sorry, can you clarify a selection of which part of the image? The grey background or the whole thing?

Also, typically the background is white, but I had some kind of HDR mod installed that was making the bright whites look grey, which isn't helping. But yah the color to alpha really seems to mess with the colors of the creature, and if I set the threshold too low, it'll also change the background color.
Reply
#7
(Yesterday, 04:42 PM)kulharin Wrote: "click and drag to define a selection"  sorry, can you clarify a selection of which part of the image?  The grey background or the whole thing?

As that short animation. Color Select tool. Bottom of the tool options is a tick-box for Draw mask

With that enabled, click in background area, hold left-mouse-button and drag to right. The selection shows as a magenta mask. Release mouse button to fix the selection.

It is just a way to adjust the threshold value  on-the-fly. You mentioned trouble adjusting threshold.

It sounds like you need a good extract foreground from background procedure. Not going to be quick with that type of image.
Reply
#8
I'll try with a different background color as you suggest. I had no problems with applying the correct transparency to these guys when using a black background, but perhaps the yellow color made it easier? https://staticdelivery.nexusmods.com/mod...81883.jpeg

I hope to find an efficient method for this spectres as I have 5 of them to do ;( https://www.nexusmods.com/skyrimspeciale...mods/30772
Reply


Forum Jump: