12-11-2019 08:41 AM - edited 12-11-2019 08:48 AM
Picture control support 1 bit transparent, not 1 byte alpha channel (for translucent). Just like those old vector image types: wmf, emf, it is limited by the image file format (picture ctrl is a mix of raster image and vector image).
However, it's background, like all other controls support translucent.
12-11-2019 08:43 AM
Interesting, i'll have to test that when i get home.
/Y
12-12-2019 02:17 AM
@zou wrote:
Picture control support 1 bit transparent, not 1 byte alpha channel (for translucent). Just like those old vector image types: wmf, emf, it is limited by the image file format (picture ctrl is a mix of raster image and vector image).
The emf standard does support gradients and alpha blending:
EMR_ALPHABLEND: This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, including alpha transparency data, according to a specified blending operation.
EMR_TRANSPARENTBLT: This record specifies a block transfer of pixels from a source bitmap to a destination rectangle, treating a specified color as transparent, stretching or compressing the output to fit the dimensions of the destination, if necessary.<18>
It's just that LV didn't catch up.
12-12-2019 03:54 PM
Classic controls to the rescue!
/Y