53d51dbee6
With this commit I reintroduce one pass scale, rotate and crop that was located in grfmgr2.cxx (now in Bitmap class) and was used for preparing bitmaps for displaying on screen. By default the combination of two filters is used: bilinear, which is a similar algorithm than the "old" one, but with the same result, and averaging algorithm. Bilinear filtering is used for bitmap enlarging and shrinking till factor 0.6. Below this bilinear gives bad results because of limited sampling. For such cases averaging is used which is a simple algorithm for shrinking. In averaging the algorithm calculates the average of samples which result is the new pixel. Currently both algorithms are not optimised. One pass scale, rotate and crop should only be used for displaying of images. Change-Id: I5a1330b58a7cbb6fde8546e16c3e8c140afca565 |
||
---|---|---|
.. | ||
bmpmaker | ||
inc | ||
langsupport | ||
prj | ||
qa | ||
source | ||
util | ||
AllLangResTarget_svt.mk | ||
CppunitTest_svtools_filters_test.mk | ||
Executable_bmp.mk | ||
Executable_bmpsum.mk | ||
Executable_g2g.mk | ||
Executable_langsupport.mk | ||
JunitTest_svtools_unoapi.mk | ||
Library_hatchwindowfactory.mk | ||
Library_svt.mk | ||
Makefile | ||
Module_svtools.mk | ||
Package_inc.mk | ||
README |
Tools on top of VCL. Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code.