The warp function us used to create a new image by warping another images. The arguments contain four pairs of coordinates. The first pair is where the top left corner is to go, the second pair is where the top right corner is to go, the third pair is where the bottom left corner is to go, and the fourth pair is where the bottom right corner is to go. If you only give three pairs, the fourth will be synthesize assuming an orthogonal coordinate system.
Giving only three points causes the fourth point to be calculated as a non-perspective transform...
icomp ' warp_input.png | warp(5,19, 55,2, 23,94, 92,66) | scale_to(128)' -o warp_output.png ![]()
icomp ' warp_input.png | warp(5,19, 55,2, 23,94) | scale_to(128)' -o warp_output3.png ![]()