-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
The current rotate_image function has several issues:
- Rotates around the top-left corner instead of the image center, causing shifts and image may go out of bounds (FIXED)
- Uses forward mapping (each pixel in the source is assigned to a destination pixels), which creates unassigned pixels (holes) in the rotated image.
- Keeps the output size the same, which crops parts of the image for larger rotation
- Integer rounding can cause aliasing and misalignment
The following fixes have been made:
- Rotates around center now
- Output size is more accommodating but not fully
Reactions are currently unavailable