Using C# how can I resize a jpeg image?

后端 未结 4 1635
别那么骄傲
别那么骄傲 2020-12-16 20:25

Using C# how can I resize a jpeg image? A code sample would be great.

4条回答
  •  鱼传尺愫
    2020-12-16 20:33

    C# (or rather: the .NET framework) itself doesn't offer such capability, but it does offer you Bitmap from System.Drawing to easily access the raw pixel data of various picture formats. For the rest, see http://en.wikipedia.org/wiki/Image_scaling

提交回复
热议问题