Sharper image without the edge artifacts

Some examples with the code above:

2 Likes