Skip to content
Discussion options

You must be logged in to vote

You can use the Distort method for this:

using (var image = new MagickImage("input.jpg"))
{
    // Make the new pixels transparent
    image.VirtualPixelMethod = VirtualPixelMethod.Transparent;

    // You probably need to tweek the value below.
    image.Distort(DistortMethod.Arc, 50);

    image.Write("output.jpg");
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simasio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants