This commit adds the possibility of applying a "perspective" transformation on image with some image shapes (e.g. devices). For technical reasons, the only way to apply this 3D transformation is to modify the image in a canva. Since the 2D context of the canvas doesn't support projective transformations, we approximate the result using multiple affine transformations on smaller parts of the image. task-2666049 Part-of: odoo/odoo#79068 Co-authored-by: Tom De Caluwé <tdc@odoo.com>