aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/pix_set-help.pd
blob: 9cbd071d9ccfbad7c6d820f0ecd85fdb2dbe87a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#N canvas 362 268 654 456 10;
#X text 452 8 GEM object;
#X obj 8 325 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 39 328 Inlets:;
#X text 38 395 Outlets:;
#X obj 8 286 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 285 Arguments:;
#X obj 7 56 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 453 60 Example:;
#X obj 514 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 198 112 destroy \, reset;
#X msg 132 94 create \, 1 \, color 0.5 0.5 0.5;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 3 1 5 0;
#X connect 3 1 6 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 519 293 pd gemwin;
#X msg 519 274 create;
#X text 515 253 Create window:;
#X obj 450 114 cnv 15 160 100 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 451 84 gemhead;
#X text 71 31 Class: pix object;
#X text 46 408 Outlet 1: gemlist;
#X text 53 342 Inlet 1: gemlist;
#X text 50 12 Synopsis: [pix_set];
#X obj 451 186 pix_set 4 4;
#X obj 451 233 pix_texture;
#X obj 450 255 square;
#X msg 459 160 RGBA;
#X msg 458 119 GREY;
#X msg 460 140 RGB;
#X msg 502 133 1 0 0 0 1 0 0 0 1 1 1 0 1 0 1 0 1 1;
#X text 63 296 <width> <height>;
#X text 21 79 [pix_set] will allow you to set the image-data of a pixel
with one long list of (m*n) Pixel-Tupel.;
#X text 22 109 The size of the image can be set with creation-arguments.
It defaults to 64*64.;
#X text 22 143 How the list is interpreted depends on the mode \, [pix_set]
is set to. When in RGBA-Mode (default) you should pass a float-list
of the form "R1 G1 B1 A1 R2 G2 B2 A2 ...". In RGB-Mode the float-list
will be of the form "R1 G1 B1 R2 G2 B2 ...". In GREY-Mode the float-list
is simply "V1 V2 ...";
#X text 18 220 If the list does not contain enough data \, the rest
of the image will be set to 0 (black).;
#X text 16 257 The image will always be in RGBA-color-space !;
#X text 53 355 Inlet 1: RGBA|RGB|GREY : set format of input-data;
#X text 52 369 Inlet 2: list : interleaved image-data (R1 G1 B1 A1
R2 B2...) or (R1 B1 G1 R2 B2...) or (L1 L2 L3...);
#X text 29 56 Description: set the pixel-data of an image;
#X text 460 376 see also;
#X obj 530 377 pix_dump;
#X msg 536 233 quality 0;
#X connect 10 0 11 0;
#X connect 11 0 10 0;
#X connect 14 0 19 0;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 22 0 19 0;
#X connect 23 0 19 0;
#X connect 24 0 19 0;
#X connect 25 0 19 1;
#X connect 37 0 20 0;