mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
Replace of a clipped PSD file's distorted image by a DCS file now measures the image in the clip group, as it does for a raster file, so the DCS file's image takes the corners instead of losing them. The checks that the new image's transform can be inverted now use a scale-relative test (Homography::affine_is_invertible) in place of an absolute determinant limit of 1e-12. A tiny distorted image replaced by a file with many more pixels gets a valid transform with a determinant below that limit, which Replace refused before.