#N canvas;
#X msg 164 99 gemList;
#X msg 164 302 gemList;
#X text 169 16 part of GEM;
#X text 175 43 pix_alpha;
#X text 101 73 set the alpha values of a pix;
#X obj 164 268 pix_alpha;
#X msg 208 217 high thresh;
#X msg 223 242 low thresh;
#X text 309 221 These are R G B values;
#X text 260 151 These are floats;
#X msg 178 140 pass val;
#X msg 193 167 other val;
#X text 56 484 It defaults to highThresh = 0 0 0 \, lowThresh = 0 0 0 \, passVal = 0 \, and otherVal = 1.0 This makes any black pixels totally transparent.;
#X text 57 425 pix_alpha compares at the color component level \, so if you wanted pixels with any red and no green or blue in them to be set to the passVal \, make highThresh = 1 0 0 and lowThresh = 0 0 0;
#X text 56 329 pix_alpha sets the alpha values of a pix based on a simple thresholding. If a pixel value is between the high and low threshold RGB values \, then the alpha component of the pixel is set to the pass value. If the pixel value is below the low threshold or above the high threshold \, then the pixel alpha is set to the other value.;
#X connect 0 0 5 0;
#X connect 5 0 1 0;
#X connect 6 0 5 3;
#X connect 7 0 5 4;
#X connect 10 0 5 1;
#X connect 11 0 5 2;
