[-] Quaternions [X] Draw rotated pixels in src order [X] Use atan2 at beginning and end of line. Interpolation in-between values [X] Test pixel perfect 90 [ ] Fix out-of-bounds pixel set [ ] Optimization for square images? [ ] Fixed point computation? # Cache [-] Rotate per channel -> no gain [ ] Load pixels in uint64-t [X] Cut image in tiles [ ] Overlap? [ ] Rotate in one temp tile then copy/move it [-] Align memory -> no gain # Quality [X] Interpolate using SIMD, SSE (no big gain) [ ] Image borders # Bugs [ ] first tile on each row is missing