Merge pull request #8970 from dotCooCoo/fix/image-quad-malformed-corner

Native file: a distorted image with a malformed saved corner opens placed by its transform
This commit is contained in:
BFlat
2026-11-22 10:50:58 +07:00
committed by GitHub
3 changed files with 218 additions and 25 deletions
+2 -2
View File
@@ -7623,8 +7623,8 @@ written as the nearest parallelogram. Ordinary groups and layers do not count to
writes an image nested deeper. Corners that would fold the image over
itself, put three corners on one line, join two corners, cross the warp's horizon or lie too close together for a
perspective map are an error, and nothing changes. A transform that squeezes the corners past what a perspective map
can place leaves the image at the parallelogram nearest them. A file whose `image_quad` holds other than four points,
or breaks these rules, opens with the image placed by its transform. A drag is one undo step, and a distort that leaves
can place leaves the image at the parallelogram nearest them. A file whose `image_quad` is not a list, holds other than four points
(an entry that is not a point included), or breaks these rules, opens with the image placed by its transform. A drag is one undo step, and a distort that leaves
the corners where they are records none. Image info (`image.info`) gives a distorted image's resolution at its middle, and Link
Info (`links.info`) gives its scale and rotation there.