How to crop an image using C#?

后端 未结 14 842
忘掉有多难
忘掉有多难 2020-11-22 05:16

How can I write an application that will crop images in C#?

14条回答
  •  无人及你
    2020-11-22 05:55

    Assuming you mean that you want to take an image file (JPEG, BMP, TIFF, etc) and crop it then save it out as a smaller image file, I suggest using a third party tool that has a .NET API. Here are a few of the popular ones that I like:

    LeadTools
    Accusoft Pegasus Snowbound Imaging SDK

提交回复
热议问题