From: Vadim Zeitlin Date: Tue, 1 May 2007 14:34:53 +0000 (+0000) Subject: clarified alpha support status (bug 1710013) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c3316efa21fd8ee660348f66b1977f26ab133df6 clarified alpha support status (bug 1710013) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index 7113961532..b199e0c95f 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -36,10 +36,12 @@ means that the pixel is 100\% opaque. Unlike RGB data, not all images have an alpha channel and before using \helpref{GetAlpha}{wximagegetalpha} you should check if this image contains -an alpha channel with \helpref{HasAlpha}{wximagehasalpha}. Note that currently only -images loaded from PNG files with transparency information will have an alpha -channel but alpha support will be added to the other formats as well (as well -as support for saving images with alpha channel which also isn't implemented). +an alpha channel with \helpref{HasAlpha}{wximagehasalpha}. Note that currently +only the PNG format has full alpha channel support so only the images loaded +from PNG files can have alpha and, if you initialize the image alpha channel +yourself using \helpref{SetAlpha}{wximagesetalpha}, you should save it in PNG +format to avoid losing it. + \wxheading{Available image handlers}