File: image-help.pd

package info (click to toggle)
pd-moonlib 0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 828 kB
  • sloc: ansic: 5,454; makefile: 64; tcl: 22
file content (126 lines) | stat: -rw-r--r-- 3,794 bytes parent folder | download
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
#N canvas 373 92 631 561 10;
#X obj 0 0 cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109
0;
#X text 14 510 (c) moonix: Antoine Rousseau 2004;
#X text 118 15 image viewer;
#X text 79 33 usage: image image_symbol [type];
#X text 97 48 if type=0 (or absent) \, image_symbol is a file.;
#X text 444 63 see "load" and "set";
#X text 98 63 if type=1 \, image_symbol means a pre-loaded image \;
;
#X text 248 510 \, but it's a hack of Gunter Geiger's image...;
#X obj 112 134 cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577
0;
#X obj 122 148 image img/play.gif 0;
#X obj 348 216 cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577
0;
#X obj 372 197 t a;
#X msg 424 105 open img/play.gif;
#X msg 425 125 open img/playy.gif;
#X msg 424 144 open img/rec.gif;
#X msg 424 162 open img/pause.gif;
#X msg 424 180 open img/sinw.gif;
#X msg 425 198 open img/squarew.gif;
#X msg 425 215 open img/saww.gif;
#X obj 360 227 image img/saww.gif 0;
#X obj 136 148 image img/rec.gif 0;
#X obj 152 148 image img/pause.gif 0;
#X obj 185 144 image img/sinw.gif 0;
#X obj 185 156 image img/squarew.gif 0;
#X obj 185 168 image img/saww.gif 0;
#N canvas 461 287 393 295 (subpatch) 0;
#X obj 87 204 t a;
#X msg 127 126 open img/sinw.gif;
#X msg 146 149 open img/squarew.gif;
#X msg 165 170 open img/saww.gif;
#X obj 0 0 tgl 40 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1;
#X obj 0 0 cnv 15 40 40 empty empty empty 20 12 0 14 -1 -66577 0;
#X obj 21 19 image img/sinw.gif 0;
#X obj 127 83 i;
#X obj 153 84 + 1;
#X obj 179 84 mod 3;
#X obj 127 104 sel 0 1 2;
#X obj 127 62 b;
#X connect 0 0 6 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 11 0;
#X connect 7 0 8 0;
#X connect 7 0 10 0;
#X connect 8 0 9 0;
#X connect 9 0 7 1;
#X connect 10 0 1 0;
#X connect 10 1 2 0;
#X connect 10 2 3 0;
#X connect 11 0 7 0;
#X coords 0 0 1 1 40 40 1 0 0;
#X restore 266 147 pd;
#X text 241 118 click !;
#X obj 298 304 hsl 128 15 0 63 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 202 1;
#X obj 295 326 i;
#X obj 202 446 image d1 1;
#X obj 295 349 change;
#X obj 402 377 loadbang;
#X msg 402 397 open img/rec.gif;
#X text 95 274 1: load img_sym file;
#X text 291 287 2: set img_sym;
#X text 270 463 rem: when a img_symbol is loaded \, it;
#X text 305 475 can be used in any image object.;
#X text 17 94 ONLY GIF FILES ACCEPTED !! (because of Tk...);
#X msg 95 313 64;
#X obj 95 359 until;
#X obj 132 381 + 1;
#N canvas 518 217 494 344 META 0;
#X text 12 25 LICENSE GPL v2;
#X text 12 85 AUTHOR Antoine Rousseau;
#X text 12 105 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information
added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 65 INLET_0 load set open;
#X text 12 5 KEYWORDS control GUI;
#X text 12 45 DESCRIPTION image viewer;
#X restore 574 531 pd META;
#X msg 295 397 set d\$1;
#X obj 95 381 f;
#X msg 95 404 load d\$1 img/d\$1.gif;
#X obj 95 335 t f b;
#X msg 134 359 0;
#X obj 95 293 loadbang;
#X text 6 253 For animations \, it's faster to preload images:;
#X obj 479 333 + 1;
#X obj 451 333 f;
#X obj 507 333 mod 64;
#X obj 451 289 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 451 310 metro 15;
#X connect 11 0 19 0;
#X connect 12 0 11 0;
#X connect 13 0 11 0;
#X connect 14 0 11 0;
#X connect 15 0 11 0;
#X connect 16 0 11 0;
#X connect 17 0 11 0;
#X connect 18 0 11 0;
#X connect 27 0 28 0;
#X connect 28 0 30 0;
#X connect 30 0 42 0;
#X connect 31 0 32 0;
#X connect 32 0 29 0;
#X connect 38 0 45 0;
#X connect 39 0 43 0;
#X connect 40 0 43 1;
#X connect 42 0 29 0;
#X connect 43 0 40 0;
#X connect 43 0 44 0;
#X connect 44 0 29 0;
#X connect 45 0 39 0;
#X connect 45 1 46 0;
#X connect 46 0 43 1;
#X connect 47 0 38 0;
#X connect 49 0 51 0;
#X connect 50 0 49 0;
#X connect 50 0 27 0;
#X connect 51 0 50 1;
#X connect 52 0 53 0;
#X connect 53 0 50 0;