notcurses version (available from notcurses-demo i)
notcurses-demo version 3.0.9
terminal name + version
Alacritty, version: 0.11.0-4
Issue
If you blit PNG image with transparent background on a plane, render it and then try get RGBA data from it using ncplane_as_rgba - you will get NULL. But if you load an image with some background - function will work properly. Same behavior if the plane is not filled, but have some graphics on it.
Please include the following data:
export | egrep 'LANG|LC_CTYPE|TERM'
declare -x COLORTERM="truecolor" declare -x GDM_LANG="en_US.UTF-8" declare -x LANG="en_US.UTF-8" declare -x TERM="alacritty"
notcurses version (available from
notcurses-demo i
)notcurses-demo version 3.0.9
terminal name + version
Alacritty, version: 0.11.0-4
Issue
If you blit PNG image with transparent background on a plane, render it and then try get RGBA data from it using ncplane_as_rgba - you will get NULL. But if you load an image with some background - function will work properly. Same behavior if the plane is not filled, but have some graphics on it.
Code
include <notcurses/notcurses.h>
int main(int argc, char *argv) {
struct notcurses nc = notcurses_init(NULL, stdout); struct ncplane *std_plane = notcurses_stdplane(nc); struct ncvisual_options opts;
}