From: Robert Roebling Date: Sun, 24 Sep 2006 12:50:48 +0000 (+0000) Subject: Mention the problem with mask colour and blurring. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e5d1e06de3949d39111f0d6b2eef69cd30d6885b?ds=inline Mention the problem with mask colour and blurring. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index efcbd11191..6204e9fd6b 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -1110,7 +1110,13 @@ It should be noted that although using wxIMAGE\_QUALITY\_HIGH produces much nice looking results it is a slower method. Downsampling will use the box averaging method which seems to operate very fast. If you are upsampling larger images using this method you will most likely notice that it is a bit slower and in extreme cases -it will be quite substantially slower as the bicubic algorithm has to process a lot of data. +it will be quite substantially slower as the bicubic algorithm has to process a lot of +data. + +It should also be noted that the high quality scaling may not work as expected +when using a single mask colour for transparency, as the scaling will blur the +image and will therefore remove the mask partially. Using the alpha channel +will work. Example: