#N canvas 404 68 627 477 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 8 325 cnv 15 430 140 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 39 332 Inlets:;
#X text 38 425 Outlets:;
#X obj 8 286 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 285 Arguments:;
#X obj 7 76 cnv 15 430 200 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 60 Example:;
#X obj 474 374 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 450 136 cnv 15 160 110 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 84 gemhead;
#X text 71 31 Class: pix object;
#X text 16 438 Outlet 1: gemlist;
#X text 23 346 Inlet 1: gemlist;
#X text 50 12 Synopsis: [pix_buf] \, [pix_separator];
#X text 29 76 Description: buffer a pix;
#X text 11 94 [pix_buf] buffers pixes. This allows you to do some processing which might require a lot of time (for example \, convolution) and store it. All images use a pull system \, so as long as nothing is modified in the pix "upstream" \, the pix_buf is still valid.;
#X text 10 167 [pix_buf] is only effective if it is storing a static image. If you are continually modifying the buffered pix \, then pix_buf is going to be spending a lot of time copying pixels.;
#X obj 451 220 pix_buf;
#X obj 487 145 bng 15 250 50 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000;
#X msg 487 190 auto \$1;
#X obj 487 168 tgl 15 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000 0 1;
#X text 11 238 [pix_buf] can be used to separate two gemlists processing the same image-data. Thus is is also called [pix_separator];
#X text 22 362 Inlet 1: bang: copy of input-data to the output and force all subsequent [pix_]-objects to process.;
#X text 22 391 Inlet 1: auto 1|0: force image-processing in subsequent objects each render-cycle (default:0);
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION buffer a pix;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist bang auto;
#X text 20 105 OUTLET_0 gemlist;
#X text 10 125 AUTHOR IOhannes m zmölnig;
#X text 10 145 LICENSE GPL v2;
#X restore 518 8 pd META;
#X text 63 296 <float:auto> the default value to force processing;
#X obj 481 380 _gemwin;
#X obj 451 251 _pix2rectangle 3;
#X obj 451 113 pix_test;
#X connect 11 0 30 0;
#X connect 19 0 29 0;
#X connect 20 0 19 0;
#X connect 21 0 19 0;
#X connect 22 0 21 0;
#X connect 30 0 19 0;
