#N canvas 728 323 650 585 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 9 326 cnv 15 430 240 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 39 328 Inlets:;
#X text 38 432 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 56 cnv 15 430 220 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 77 cnv 15 200 380 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 60 Example:;
#X text 71 31 Class: pix object;
#X text 46 445 Outlet 1: gemlist;
#X text 53 342 Inlet 1: gemlist;
#X text 63 296 <width> <height>;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION create test pixes;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist colorspace dimen noise;
#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 50 12 Synopsis: [pix_test];
#X text 29 56 Description: create test pixes;
#X text 22 79 [pix_test] creates a test image \, of the specified dimensions and colorspace.;
#X text 24 118 The test-image consists of the SMPTE colorbars (7 colors with decreasing luminance: white \, yellow \, cyan \, green magenta \, red \, blue) \, followed by a black-white gradient and a white-black gradient.;
#X text 24 176 The bottom of the image is filled with grey noise (but this can be turned off with the 'noise' message);
#X text 53 364 Inlet 1: colorspace RGBA|RGB|YUV/GREY : set format of input-data;
#X text 53 390 Inlet 1: dimen <w> <h> : set dimensions.;
#X text 53 405 Inlet 1: noise <1|0> : with noise (default) or without;
#X obj 450 114 cnv 15 160 230 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 84 gemhead;
#X obj 451 355 pix_info, f 25;
#X floatatom 471 379 5 0 0 0 - - - 0;
#X floatatom 505 379 5 0 0 0 - - - 0;
#X floatatom 549 379 5 0 0 0 - - - 0;
#X msg 476 136 dimen 1920 1080;
#X obj 476 263 tgl 18 0 empty empty empty 0 -9 0 10 #fcfcfc #000000 #000000 0 1;
#X msg 476 286 noise \$1;
#X msg 476 167 colorspace RGBA;
#X obj 451 159 t a;
#X msg 476 187 colorspace RGB;
#X msg 476 207 colorspace YUV;
#X msg 476 227 colorspace grey;
#X obj 451 251 t a;
#X obj 451 316 pix_test;
#X msg 476 116 dimen 64 64;
#X obj 455 488 _gemwin \; 0 \; 0 \; color 0.5 0.5 0.5;
#X obj 451 403 _pix2rectangle 3.5;
#X connect 23 0 32 0;
#X connect 24 0 40 0;
#X connect 24 1 25 0;
#X connect 24 2 26 0;
#X connect 24 3 27 0;
#X connect 28 0 32 0;
#X connect 29 0 30 0;
#X connect 30 0 37 0;
#X connect 31 0 36 0;
#X connect 32 0 36 0;
#X connect 33 0 36 0;
#X connect 34 0 36 0;
#X connect 35 0 36 0;
#X connect 36 0 37 0;
#X connect 37 0 24 0;
#X connect 38 0 32 0;
