Skip to content

Commit 2715f0e

Browse files
Update ExifProfile.cs
1 parent 1d18df9 commit 2715f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Metadata/Profiles/Exif/ExifProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ internal void SyncSubject(int width, int height, Matrix4x4 matrix)
323323
// Ensure the point is within the image dimensions.
324324
point = Vector2.Clamp(point, Vector2.Zero, new Vector2(width - 1, height - 1));
325325

326-
// Round the point to the nearest pixel.
326+
// Floor the point to the nearest pixel.
327327
location.Value[0] = (ushort)Math.Floor(point.X);
328328
location.Value[1] = (ushort)Math.Floor(point.Y);
329329

0 commit comments

Comments
 (0)