调整位像小画家 [英] Resize bitmap like in MS Paint

查看:87
本文介绍了调整位像小画家的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要调整一个bmp像大小调整在MS油漆工作 - 这是一个没有抗锯齿。
任何人都知道如何在C#中做到这一点还是vb.net?

I need to resize a bmp like the resize works in MS Paint - that is with no antialiasing . Anyone know how to do this in c# or vb.net ?

推荐答案

您可以使用 Image.GetThumbnailImage 方法。我不知道它的抗锯齿

You can use the Image.GetThumbnailImage method. I am not aware of it antialiasing.

修改的:我想缩略图的,因为我最近使用这一个项目。但你只是要求一般的调整。这种方法可能不会导致品质的大尺寸调整好。

EDIT: I was thinking of thumbnail images since I recently used this in a project. But you are just asking for resizing in general. This method may not result in good quality large resizing.

http://msdn.microsoft.com/en-us/library/system.drawing.image.getthumbnailimage.aspx

这篇关于调整位像小画家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆