chrisb123 Posted December 27, 2023 Share Posted December 27, 2023 Hi, I'm trying to add transparency to a portrait of a person with black hair. If I just add transparency with a mask it ends up lightening all the colors including the dark greys parts of the hair and makes the hair look thin. I want to only add transparency to the lighter parts of the hair so when I put the image over a dark background I dont get a halo effect but I keep the hair and dark grey parts Quote Link to comment Share on other sites More sharing options...
RichardMH Posted December 27, 2023 Share Posted December 27, 2023 What sort of mask are you using? Luminosity? And are you using Refine Mask? Quote Link to comment Share on other sites More sharing options...
chrisb123 Posted December 27, 2023 Author Share Posted December 27, 2023 A regular mask I guess. I refined the mask Quote Link to comment Share on other sites More sharing options...
RichardMH Posted December 27, 2023 Share Posted December 27, 2023 Might help to post the image or something similar. With tricky masks some of us just do stuff until it looks right. (And live in hope that Photo will get AI masks) Westerwälder 1 Quote Link to comment Share on other sites More sharing options...
chrisb123 Posted December 27, 2023 Author Share Posted December 27, 2023 The light colors from the background showing through the hair. Would like to make those parts more transparent so when a dark background is used the light parts do not show, but the dark hair still shows. Its just the edges I cant seem to get right, too much transparency and the hair some what disappears not enough and there is a light visible halo Quote Link to comment Share on other sites More sharing options...
RichardMH Posted December 27, 2023 Share Posted December 27, 2023 Maybe try the flood select tool on the background colour. Tick contiguous so iot doesn't get the face. It has Add and Subtract to tidy up, plus Refine as usual. A really quick try. Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted December 27, 2023 Share Posted December 27, 2023 To get rid of the light colored areas, use a suitable brush of the masking category and paint in black over the mask. Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. Link to comment Share on other sites More sharing options...
NotMyFault Posted December 27, 2023 Share Posted December 27, 2023 The result will be still looking not vey natural. If you change the background from very light to dark. Light spots could be result of shine through from background, or reflection from foreground or sides actual hair in lighter color Each case needs different treatment. Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. Link to comment Share on other sites More sharing options...
chrisb123 Posted December 27, 2023 Author Share Posted December 27, 2023 The problem I have is I get this shine through from the background on the thin hair parts. Masking it out removes the hair, client wants all the hair remaining, So the light areas dont look good and kinda glow on a dark background. Can I darken only the light parts? Quote Link to comment Share on other sites More sharing options...
thomaso Posted December 27, 2023 Share Posted December 27, 2023 3 hours ago, chrisb123 said: Can I darken only the light parts? One simple of various possible ways would be an extra layer with the wanted darker colour and its blend mode set to "Darken". Of course, this does not differentiate between the hair colour that is lightened by a background and the hair that is lightened by the ambient light colour while taking the photo. More complex ways would use masks additionally to affect certain areas only. debraspicher 1 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
chrisb123 Posted December 27, 2023 Author Share Posted December 27, 2023 Close but how would I do the same with transparency? Quote Link to comment Share on other sites More sharing options...
debraspicher Posted December 27, 2023 Share Posted December 27, 2023 I created a video with an audio explanation, it was just easier for me. 23.12.27_12-12-40-PM_NV12_3840x2160.mp4 firstdefence 1 Quote Link to comment Share on other sites More sharing options...
chrisb123 Posted December 28, 2023 Author Share Posted December 28, 2023 Thanks for the effort with the video, there are several things to try. For context the source images I have are "stylised drawings", they used one of those AI apps to alter photos, which is why the hair looks a bit odd, it wont do transparent background Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.