No special tool is used, just free transform and other transform variants (perspective/distort/skew/etc). This is done manually.