#N canvas 6 273 640 398 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 8 226 cnv 15 430 120 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 30 233 Inlets:;
#X text 30 289 Outlets:;
#X obj 8 186 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 185 Arguments:;
#X obj 8 66 cnv 15 430 110 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 66 cnv 15 170 280 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 49 Example:;
#X obj 451 187 cnv 15 160 40 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 118 gemhead;
#X obj 496 101 bng 15 250 50 0 empty empty pix_load -45 8 0 8 #fcfcfc #000000 #000000;
#N canvas 0 22 587 366 image 0;
#X obj 77 48 inlet;
#X obj 77 344 outlet;
#X obj 77 205 pix_image examples/data/fractal.JPG;
#X obj 223 55 inlet;
#X msg 223 123 open \$1;
#X obj 223 100 openpanel;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X connect 3 0 5 0;
#X connect 4 0 2 0;
#X connect 5 0 4 0;
#X restore 451 137 pd image;
#X text 63 196 <none>;
#X text 38 303 Outlet 1: gemlist;
#X text 44 247 Inlet 1: gemlist;
#X text 503 77 (JPEG \, TIFF \, ..);
#X obj 519 121 gemhead;
#N canvas 0 22 587 366 image 0;
#X obj 77 48 inlet;
#X obj 77 344 outlet;
#X obj 77 205 pix_image examples/data/dancer.JPG;
#X obj 223 55 inlet;
#X msg 223 123 open \$1;
#X obj 223 100 openpanel;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X connect 3 0 5 0;
#X connect 4 0 2 0;
#X connect 5 0 4 0;
#X restore 519 140 pd image;
#X obj 564 102 bng 15 250 50 0 empty empty pix_load -45 8 0 8 #fcfcfc #000000 #000000;
#X text 44 276 Inlet 2: gemlist;
#X text 449 66 open two different images;
#X text 71 31 Class: pix mix object;
#X text 29 158 The 2 images have to be of the same size.;
#X obj 451 197 pix_takealpha;
#X obj 519 161 pix_coloralpha;
#X obj 451 232 alpha;
#X text 29 67 Description: transfer the alpha-channel;
#X text 29 84 [pix_takealpha] takes the alpha-channel of the 2nd image and applies it on the 1st image.;
#X text 28 117 The 1st image has the be in RGBA-colorspace;
#X text 27 130 If the 2nd image is in non-RGBA colorspace \, the luminance value is taken instead of the Alpha-value.;
#X text 50 12 Synopsis: [pix_takealpha];
#X text 31 356 see also:;
#X obj 96 358 pix_mask;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION transfer the alpha-channel;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist;
#X text 20 105 INLET_1 gemlist;
#X text 20 125 OUTLET_0 gemlist;
#X text 10 145 AUTHOR IOhannes m zmölnig;
#X text 10 165 LICENSE GPL-2.0-or-later;
#X restore 518 8 pd META;
#X obj 468 278 _gemwin \; 0 \; 0 \; color 0.5 0.5 0.5;
#X obj 451 252 _pix2rectangle 3;
#X connect 10 0 12 0;
#X connect 11 0 12 1;
#X connect 12 0 24 0;
#X connect 17 0 18 0;
#X connect 18 0 25 0;
#X connect 19 0 18 1;
#X connect 24 0 26 0;
#X connect 25 0 24 1;
#X connect 26 0 36 0;
