For a 512 × 512 tile, offset 256 pixels horizontally and vertically using wraparound. Examine the cross in the middle and repair abrupt changes in brightness or pattern. Avoid altering the new outer edges independently.
Preview the edited tile in a three-by-three repeat. A visible grid with smooth seams often means a distinctive knot or stain repeats too regularly.