Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sanket Bhukan
purr-data
Commits
5b3474d5
Commit
5b3474d5
authored
8 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
add message about backwards compatibility
parent
c18cd82f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
externals/moonlib/image-help.pd
+56
-55
56 additions, 55 deletions
externals/moonlib/image-help.pd
with
56 additions
and
55 deletions
externals/moonlib/image-help.pd
+
56
−
55
View file @
5b3474d5
#N canvas 19
7 95
631 592 10;
#N canvas 19
6 40
631 592 10;
#X obj 0
3
8 cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109
#X obj 0
5
8 cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109
0;
0;
#X text 14 550 (c) moonix: Antoine Rousseau 2004;
#X text 14 550 (c) moonix: Antoine Rousseau 2004;
#X text 118 73 image viewer;
#X text 118 93 image viewer;
#X text 79 91 usage: image image_symbol [type];
#X text 79 111 usage: image image_symbol [type];
#X text 97 106 if type=0 (or absent) \, image_symbol is a file.;
#X text 97 126 if type=0 (or absent) \, image_symbol is a file.;
#X text 444 121 see "load" and "set";
#X text 98 151 if type=1 \, image_symbol means a pre-loaded image \;
#X text 98 121 if type=1 \, image_symbol means a pre-loaded image \;
;
;
#X text 248 550 \, but it's a hack of Gunter Geiger's image...;
#X text 248 550 \, but it's a hack of Gunter Geiger's image...;
#X obj 112
19
2 cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577
#X obj 112
22
2 cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577
0;
0;
#X obj 122 2
0
6 image examples/play.gif 0;
#X obj 122 2
3
6 image examples/play.gif 0;
#X obj 348
27
4 cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577
#X obj 348
30
4 cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577
0;
0;
#X obj 372 2
5
5 t a;
#X obj 372 2
8
5 t a;
#X msg 424 1
6
3 open examples/play.gif;
#X msg 424 1
9
3 open examples/play.gif;
#X msg 425 1
8
3 open examples/playy.gif;
#X msg 425
2
13 open examples/playy.gif;
#X msg 424 2
0
2 open examples/rec.gif;
#X msg 424 2
3
2 open examples/rec.gif;
#X msg 424 2
2
0 open examples/pause.gif;
#X msg 424 2
5
0 open examples/pause.gif;
#X msg 424 2
3
8 open examples/sinw.gif;
#X msg 424 2
6
8 open examples/sinw.gif;
#X msg 425 2
5
6 open examples/squarew.gif;
#X msg 425 2
8
6 open examples/squarew.gif;
#X msg 425
27
3 open examples/saww.gif;
#X msg 425
30
3 open examples/saww.gif;
#X obj 360
28
5 image examples/saww.gif 0;
#X obj 360
31
5 image examples/saww.gif 0;
#X obj 136 2
0
6 image examples/rec.gif 0;
#X obj 136 2
3
6 image examples/rec.gif 0;
#X obj 152 2
0
6 image examples/pause.gif 0;
#X obj 152 2
3
6 image examples/pause.gif 0;
#X obj 185 2
0
2 image examples/sinw.gif 0;
#X obj 185 2
3
2 image examples/sinw.gif 0;
#X obj 185 2
1
4 image examples/squarew.gif 0;
#X obj 185 2
4
4 image examples/squarew.gif 0;
#X obj 185 2
2
6 image examples/saww.gif 0;
#X obj 185 2
5
6 image examples/saww.gif 0;
#N canvas 183 192 77 40 (subpatch) 0;
#N canvas 183 192 77 40 (subpatch) 0;
#X obj 87 205 t a;
#X obj 87 205 t a;
#X msg 127 127 open examples/sinw.gif;
#X msg 127 127 open examples/sinw.gif;
...
@@ -54,8 +53,8 @@
...
@@ -54,8 +53,8 @@
#X connect 10 2 3 0;
#X connect 10 2 3 0;
#X connect 11 0 7 0;
#X connect 11 0 7 0;
#X coords 0 0 1 1 40 40 1;
#X coords 0 0 1 1 40 40 1;
#X restore 246
19
1 pd;
#X restore 246
22
1 pd;
#X text 241
17
6 click !;
#X text 241
20
6 click !;
#X obj 65 406 t f f;
#X obj 65 406 t f f;
#X obj 65 468 pack s s;
#X obj 65 468 pack s s;
#X msg 65 488 load \$1 \$2;
#X msg 65 488 load \$1 \$2;
...
@@ -73,7 +72,7 @@
...
@@ -73,7 +72,7 @@
#X text 291 345 2: set img_sym;
#X text 291 345 2: set img_sym;
#X text 270 521 rem: when a img_symbol is loaded \, it;
#X text 270 521 rem: when a img_symbol is loaded \, it;
#X text 305 533 can be used in any image object.;
#X text 305 533 can be used in any image object.;
#X text 17 1
5
2 ONLY GIF FILES ACCEPTED !! (because of Tk...);
#X text 17 1
8
2 ONLY GIF FILES ACCEPTED !! (because of Tk...);
#X msg 62 334 64;
#X msg 62 334 64;
#X obj 63 357 until;
#X obj 63 357 until;
#X obj 64 383 float;
#X obj 64 383 float;
...
@@ -90,33 +89,35 @@ added by Jonathan Wilkes for Pd version 0.42.;
...
@@ -90,33 +89,35 @@ added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 45 DESCRIPTION image viewer;
#X text 12 45 DESCRIPTION image viewer;
#X text 12 5 KEYWORDS control GUI deprecated;
#X text 12 5 KEYWORDS control GUI deprecated;
#X restore 574 551 pd META;
#X restore 574 551 pd META;
#X text 102 9 Important note: This object is DEPRECATED. The "load"
#X text 101 74 For images see [draw image] and [draw sprite];
method leaks memory \, and the image is anchored in the center which
#X text 432 143 see "load" and "set";
makes it at odds with the normal object positioning in Pd.;
#X text 102 9 Important note: This object is DEPRECATED-- it is kept
#X text 101 54 For images see [draw image] and [draw sprite];
here for the backwards compatibility. The "load" method leaks memory
#X connect 11 0 19 0;
\, and the image is anchored in the center which makes it at odds with
#X connect 12 0 11 0;
the normal object positioning in Pd.;
#X connect 13 0 11 0;
#X connect 10 0 18 0;
#X connect 14 0 11 0;
#X connect 11 0 10 0;
#X connect 15 0 11 0;
#X connect 12 0 10 0;
#X connect 16 0 11 0;
#X connect 13 0 10 0;
#X connect 17 0 11 0;
#X connect 14 0 10 0;
#X connect 18 0 11 0;
#X connect 15 0 10 0;
#X connect 27 0 47 0;
#X connect 16 0 10 0;
#X connect 27 1 49 0;
#X connect 17 0 10 0;
#X connect 28 0 29 0;
#X connect 26 0 46 0;
#X connect 29 0 33 0;
#X connect 26 1 48 0;
#X connect 30 0 33 0;
#X connect 27 0 28 0;
#X connect 31 0 32 0;
#X connect 28 0 32 0;
#X connect 32 0 34 0;
#X connect 29 0 32 0;
#X connect 34 0 48 0;
#X connect 30 0 31 0;
#X connect 36 0 37 0;
#X connect 31 0 33 0;
#X connect 37 0 33 0;
#X connect 33 0 47 0;
#X connect 35 0 36 0;
#X connect 36 0 32 0;
#X connect 42 0 43 0;
#X connect 43 0 44 0;
#X connect 43 0 44 0;
#X connect 44 0 26 0;
#X connect 44 0 45 0;
#X connect 44 0 45 0;
#X connect 45 0 27 0;
#X connect 45 0 44 1;
#X connect 45 0 46 0;
#X connect 46 0 27 0;
#X connect 46 0 45 1;
#X connect 47 0 29 0;
#X connect 47 0 28 0;
#X connect 48 0 27 1;
#X connect 48 0 30 0;
#X connect 49 0 28 1;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment