#N canvas 6 61 624 360 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 39 218 Inlets:;
#X text 39 310 Outlets:;
#X obj 8 176 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 175 Arguments:;
#X obj 8 76 cnv 15 430 90 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 514 254 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 450 146 cnv 15 165 80 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 84 gemhead;
#X text 71 31 Class: pix object;
#X text 63 186 <offX=0> <offY=0> <dimX=64> <dimY=64>;
#X text 57 323 Outlet 1: gemlist;
#X text 63 232 Inlet 1: gemlist;
#X obj 451 196 pix_crop;
#X text 63 245 Inlet 2: float: dimenX;
#X text 63 258 Inlet 3: float: dimenY;
#X text 63 273 Inlet 4: float: offsetX;
#X text 63 284 Inlet 5: float: offsetY;
#X text 50 12 Synopsis: [pix_crop];
#X floatatom 463 160 5 0 0 1 dimX - - 0;
#X floatatom 476 177 5 0 0 1 dimY - - 0;
#X floatatom 543 160 5 0 0 1 offX - - 0;
#X floatatom 556 177 5 0 0 1 offY - - 0;
#X text 29 77 Description: get a subimage of an image;
#X text 12 91 [pix_crop]: only passes the selected rectangle further on. The selection is made by the dimension of the subimage in pixels and the offset (in pixels) from the lower left corner.;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION get a subimage of an image;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist;
#X text 20 105 INLET_1 float;
#X text 20 125 INLET_2 float;
#X text 20 145 INLET_3 float;
#X text 20 165 INLET_4 float;
#X text 20 185 OUTLET_0 gemlist;
#X text 10 205 AUTHOR IOhannes m zmölnig;
#X text 10 225 LICENSE GPL-2.0-or-later;
#X restore 518 8 pd META;
#X obj 451 233 _pix2rectangle 3;
#X obj 521 261 _gemwin;
#X obj 451 113 pix_test;
#X connect 11 0 31 0;
#X connect 16 0 29 0;
#X connect 22 0 16 1;
#X connect 23 0 16 2;
#X connect 24 0 16 3;
#X connect 25 0 16 4;
#X connect 31 0 16 0;
