#N canvas 154 108 800 406 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 8 233 cnv 15 430 150 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 16 240 Inlets:;
#X text 15 333 Outlets:;
#X obj 8 194 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 193 Arguments:;
#X obj 7 64 cnv 15 430 125 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 65 cnv 15 170 250 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 48 Example:;
#X obj 449 320 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 448 126 cnv 15 160 140 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 72 gemhead;
#X text 71 31 Class: pix object;
#X text 63 204 <none>;
#X text 33 346 Outlet 1: gemlist;
#X text 40 254 Inlet 1: gemlist;
#X obj 451 214 pix_dump;
#X obj 496 241 print DATA;
#X msg 460 132 bang;
#X text 29 64 Description: dump all the pixel-data of an image;
#X text 21 99 [pix_dump] will output one long list of (m*n) pixel-tuples.;
#X text 22 130 For a RGBA-image the list will have the form:;
#X text 42 150 R1 G1 B1 A1 R2 G2 B2 A2 R3 G3 ... B(m*n) A(m*n);
#X text 40 266 Inlet 1: bang: do dump;
#X text 33 360 Outlet 2: list: dumped pixel data;
#X text 50 12 Synopsis: [pix_dump];
#X msg 515 214 bytemode \$1;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION dump all the pixel-data of an image;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist bang bytemode;
#X text 20 105 OUTLET_0 gemlist;
#X text 20 125 OUTLET_1 list;
#X text 10 145 AUTHOR IOhannes m zmölnig;
#X text 10 165 LICENSE GPL v2;
#X restore 518 8 pd META;
#X obj 451 283 _pix2rectangle 3;
#X obj 457 326 _gemwin;
#X obj 451 101 pix_test 20 20;
#X text 40 278 Inlet 1: bytemode: if 1 \, output colors as byte (0-255 int);
#X text 94 292 if 0 \, output normalized colors (0-1) (default);
#X msg 516 143 mode rgb;
#X msg 515 166 mode rgba;
#X obj 515 194 tgl 18 0 empty empty empty 0 -9 0 10 #fcfcfc #000000 #000000 0 1;
#X text 40 306 Inlet 1: mode rgb|rgba: if pix is rgba \, output only R G B tuples \,, f 65;
#X text 93 319 resp. R G B A tuples (the default);
#X connect 11 0 30 0;
#X connect 16 0 28 0;
#X connect 16 1 17 0;
#X connect 18 0 16 0;
#X connect 26 0 16 0;
#X connect 30 0 16 0;
#X connect 33 0 16 0;
#X connect 34 0 16 0;
#X connect 35 0 26 0;
