>>13658619>>13658790No perfect technique, depend on the picture. Greenscreen ones are easy with color to alpha + selecting the outer black line with the now transparent background and applying a slight median noise (or fuzz).
Clear background is still fine, since the black outline of her hair serves as separator and helps clear out everything though you'll often need to use a smooth eraser to polish it. Applying a an outline effect properly can hide the irregularities and give it an nice look from afar too.
Black background are a pain and not recommended.