问题描述
我在使用256x256位图的TImage上使用Stretched = True。这被缩小了1,2,4或8.如预期的那样,位图上的文字变得更加可怕,我离开'1'越多。
我注意到,虽然Windows 7资源管理器渲染了位图更软的缩小版本,更令人愉快。是否可以以这种方式模糊一个TBitmap?
I am using Stretched=True on a TImage with a 256x256 bitmap. This gets scaled down by 1,2,4 or 8. As expected, text on the bitmap gets more horrible the more I depart from '1'.I notice though that Windows 7 explorer renders a scaled down version of the bitmap 'softer' and more pleasing. Is it possible to 'blur' a TBitmap in this way?
推荐答案
我想你的意思是在TImage上Stretched = True在TBitmap上。
I suppose you mean Stretched = True on a TImage, not on A TBitmap.
不幸的是,TImage没有内置重新采样器,当涉及到调整其中的图像大小时。
我的建议是使用,因为它支持各种重新采样器(有些更适合增加大小其他减少大小)
Unfortunately TImage has no resamplers built in, when it comes to resizing images in it.My recommendation would be to use Graphics32 as it supports a variety of resamplers (some are better for increasing size others for reducing size)
这篇关于是否可以在Delphi中平滑一个缩放的TBitmap?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!