aboutsummaryrefslogtreecommitdiff
path: root/Patches/fs.frame.pd
blob: bac20046949c12c18bbf71c1ea6d7a8da70a9c1c (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#N canvas 19 -3 1010 686 12;
#X msg 444 119 frame \$1;
#X obj 276 355 fs_sender;
#X obj 76 25 inlet;
#X obj 76 145 symbol;
#X obj 151 126 route fs_op;
#X obj 151 168 pack s s s;
#X obj 76 192 outlet;
#X obj 276 193 l2s;
#X obj 276 226 pack s s;
#X msg 276 259 \$2 \$1;
#X text 468 227 "next" "prev" "random" "seek <number>" to show frames
in video or buffered images.;
#X text 469 264 "clear" to flush buffered images.;
#X text 468 300 "flip_auto" "flip_manual" "flip" controls how the display
should reflect changes in the image.;
#X text 468 343 "320x240" to set image size "100+100" to set frame
position "display 600x450" to set display size;
#X text 469 382 "borders_0" "borders_1" "stayontop_0"/1 "mute_0"/1
\, also right-click the image for display options.;
#X text 450 149 inlet accepts:;
#X obj 444 91 symbol;
#X text 469 428 "save <directory> <"bmp" or number for jpeg quality>"
save image in directory under name fs000001 \, fs000002 ...;
#X text 467 470 "plugin_name" (see example-plugins.pd);
#X text 471 494 mousetrack_1 and mousetrack_0 to report mouse x \,
y thru second outlet;
#X msg 19 295 bang;
#X text 27 244 drag&drop will bang;
#X obj 275 482 outlet;
#X text 471 530 mouserect_1 and mouserect_0 to report dragged rectangle
;
#X obj 444 24 reset;
#X obj 76 55 route bang float;
#X msg 137 98 vf2fs \$1;
#N canvas 0 0 646 581 report 0;
#X obj 54 94 pack f f;
#X obj 88 248 pack f f f f;
#X text 58 17 report mouse x \, y;
#X text 88 130 report mouse rect;
#X text 115 297 report moving the window;
#X obj 15 522 outlet;
#X obj 126 382 pack f f;
#X msg 126 411 set \$1 + \$2;
#X obj 54 39 r \$0Fx;
#X obj 61 63 r \$0Fy;
#X obj 84 151 r \$0Fx1;
#X obj 84 175 r \$0Fy1;
#X obj 84 198 r \$0Fx2;
#X obj 85 222 r \$0Fy2;
#X obj 142 324 r \$0Fwinx;
#X obj 142 348 r \$0Fwiny;
#X obj 68 522 outlet;
#X obj 383 101 pack f s;
#X obj 497 57 r \$0Fevent;
#X obj 453 101 symbol;
#X text 383 164 report mouseup;
#X obj 383 187 r \$0Fmouseup;
#X obj 383 248 pack f s;
#X obj 497 204 r \$0Fevent;
#X msg 383 275 \; \$2mouseup \$1;
#X obj 453 248 symbol;
#X text 383 17 report mousedown;
#X msg 383 128 \; \$2mousedown \$1;
#X obj 383 40 r \$0Fmousedown;
#X text 384 341 report drag&drop filename;
#X obj 384 366 r \$0Ffile;
#X obj 384 419 buildstr;
#X obj 384 456 pack s s;
#X obj 493 412 r \$0Fevent;
#X obj 454 456 symbol;
#X msg 384 487 \; \$2file \$1;
#X obj 384 392 f;
#X connect 0 0 5 0;
#X connect 1 0 5 0;
#X connect 6 0 7 0;
#X connect 7 0 16 0;
#X connect 8 0 0 0;
#X connect 9 0 0 1;
#X connect 10 0 1 0;
#X connect 11 0 1 1;
#X connect 12 0 1 2;
#X connect 13 0 1 3;
#X connect 14 0 6 0;
#X connect 15 0 6 1;
#X connect 17 0 27 0;
#X connect 18 0 19 0;
#X connect 19 0 17 1;
#X connect 21 0 22 0;
#X connect 22 0 24 0;
#X connect 23 0 25 0;
#X connect 25 0 22 1;
#X connect 28 0 17 0;
#X connect 30 0 36 0;
#X connect 31 0 32 0;
#X connect 32 0 35 0;
#X connect 33 0 34 0;
#X connect 34 0 32 1;
#X connect 36 0 31 0;
#X restore 275 440 pd report;
#X obj 444 54 symbol \$0F;
#X obj 140 25 r \$0Finlet;
#X obj 19 269 r \$0Fbang;
#X obj 327 482 outlet;
#X text 472 575 minimize \, maximize \, bringtofront;
#X text 471 553 bufferize will copy the current image to image buffer
;
#X text 471 600 hidecursor_1 \, hidecursor_0;
#X text 470 622 use "directory" - like buffer \, without buffering
(load on demand);
#X text 468 190 "buffer <filename(.bmp .jpg)>" to load to memory;
#X text 469 171 filename to load and display (.avi .bmp .jpg);
#X text 468 208 "buffer <directory>" to load all images in dir;
#X connect 0 0 1 0;
#X connect 2 0 25 0;
#X connect 3 0 6 0;
#X connect 4 0 5 0;
#X connect 4 1 7 0;
#X connect 5 0 1 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 1 0;
#X connect 16 0 0 0;
#X connect 20 0 3 0;
#X connect 24 0 28 0;
#X connect 25 0 3 0;
#X connect 25 1 26 0;
#X connect 25 2 4 0;
#X connect 26 0 4 0;
#X connect 27 0 22 0;
#X connect 27 1 31 0;
#X connect 28 0 3 1;
#X connect 28 0 5 2;
#X connect 28 0 8 1;
#X connect 28 0 16 0;
#X connect 29 0 25 0;
#X connect 30 0 20 0;