clarified alpha support status (bug 1710013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user