Skip to content

Why do the corners of my character insert become transparent after I rotate a tightly cropped patch?

Rotation moves parts of the required rectangular footprint outside the stored patch. Without image padding those areas sample transparency or an unintended border.

VIDEO SIGNAL AND TIMING DIAGNOSTICSAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Inspect the layers

Show the entire extracted patch before rotation. Check the corners at the maximum rotation angle and the most off-center frame.

Temporarily enlarge the extraction region while preserving the original transform center. Compare whether the exposed corner disappears without changing the face alignment.

Controlled edge example

A 100-by-100 square rotated 45 degrees needs an axis-aligned bounding box about 141 pixels wide to contain the whole rotated square. A 100-pixel extraction has no such margin.

Which part of the composite to repair

Extend the source patch or re-extract with enough surrounding picture. Smearing the edge outward can work on a plain wall but is risky on hair or patterned clothing.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example