Skip to content
Commit 99b57410 authored by Bill Spitzak's avatar Bill Spitzak Committed by Søren Sandmann Pedersen
Browse files

demos/scale: Compute filter size using boundary of xformed ellipse



Instead of using the boundary of xformed rectangle, use the boundary
of xformed ellipse. This is much more accurate and less blurry. In
particular the filtering does not change as the image is rotated.

Signed-off-by: default avatarBill Spitzak <spitzak@gmail.com>
Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: default avatarSoren Sandmann <soren.sandmann@gmail.com>
parent b9ead7dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment