Image transformation

This is an online solution using imagemagick

https://ai2.metricrat.co.uk/guides/imagemagick-api

$command would look something like:

convert mouse1.png -matte -virtual-pixel transparent -interpolate Spline -distort BilinearForward '0,0 0,0   0,130 40,130   100,0 100,0   100,130 70,130' png:-

This could be possible on the device if imagemagick is installed on the device:

(but this is unlikely....)