mirror of https://github.com/SixLabors/ImageSharp
Browse Source
Use exact zero determinant checks in `TransformUtilities.IsDegenerate` for `Matrix3x2` and `Matrix4x4` instead of epsilon-based near-zero detection, preventing valid transforms from being treated as degenerate during extreme downscales. Added a regression test for issue #3156 to verify resizing large square images (1024/2048) to 1x1 succeeds and preserves the expected pixel.pull/3157/head
2 changed files with 16 additions and 6 deletions
Loading…
Reference in new issue