The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.

Hello. Still im trying learn some skill to make better mockup images. But today i get trouble with distort . When i tray distort my image i get glitch or leaking on result image.
Input design file
Background image

Your images use pixels to their edges. "-distort" extends the image using virtual pixels, and the default virtual pixels is "edge", so these are repeated. To make the virtual pixels transparent-black, insert "-virtual-pixel None" before "-distort".