aboutsummaryrefslogtreecommitdiff
path: root/Gem/pix_writer-help.pd
blob: 43515b2a9ea4f5a996b12f4fdc756d35d17f3742 (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
#N canvas 200 61 755 513 10;
#X declare -lib Gem;
#X obj 17 340 cnv 15 430 150 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 28 342 Inlets:;
#X text 28 451 Outlets:;
#X obj 17 304 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 26 303 Arguments:;
#X obj 17 69 cnv 15 430 230 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 46 464 Outlet 1: gemlist;
#X text 52 356 Inlet 1: gemlist;
#X text 52 369 Inlet 1: file <basefilename> : set basefilename \, and
type = TIFF;
#X text 52 418 Inlet 1: file <basefilename> <type> : set basefilename
and type;
#X text 536 17 GEM object;
#X obj 459 77 cnv 15 280 300 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 463 60 Example:;
#X obj 604 313 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 16 419 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 268 112 destroy;
#X msg 132 112 create \, 1;
#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 609 352 pd gemwin;
#X msg 609 333 create;
#X text 605 312 Create window:;
#X obj 460 132 cnv 15 270 170 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 461 84 gemhead 51;
#X msg 469 139 file pix_test 99;
#X text 582 161 type : jpg;
#X text 582 150 name : pix_testXXXXX.jpg;
#X text 582 174 quality : 99;
#X text 582 138 set pix_write to:;
#X msg 470 191 auto \$1;
#X obj 470 172 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 471 215 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 490 214 WRITE! one file;
#X text 52 393 Inlet 1: file <type> : set type (type=0 : TIFF \, type>0
: JPG \, type = quality);
#X obj 466 450 pix_snap;
#X text 464 429 See also:;
#X text 25 169 BE CAREFUL with the filename \, depending on your OS
\, relative names may be different. It start from the patch in Linux
or from HD (/) in osx for example. DO NOT USE SPACES in the basefilename
;
#X text 81 41 Class: pix object;
#X text 26 116 With the "file" message you can specify a base-filename
and the type of image-files you want to create. The actual name of
the file will be something like: "<basefilename><current#>.<ext>" (like
"GEM00001.tif");
#X obj 466 474 pix_write;
#X obj 461 272 pix_writer;
#X text 27 72 Description: write the current texture to a file;
#X text 72 314 none;
#X obj 461 106 pix_video;
#X text 26 99 When banged [pix_writer] save current pix to a file.
;
#X text 60 22 Synopsis: [pix_writer];
#X msg 500 245 file /Users/username/pix_test 99;
#X text 26 239 Supported file-types are TIFF (quality=0) and JPEG (quality>0).
TIFF-writing can be slow due to the large file size of uncompressed
images! JPEG might be faster (but quality will be lower due to compression)
;
#X text 523 190 activate/deactivate auto snapshot;
#X obj 608 18 declare -lib Gem;
#X text 571 263 OSX format;
#X connect 14 0 15 0;
#X connect 15 0 14 0;
#X connect 18 0 38 0;
#X connect 19 0 35 0;
#X connect 24 0 35 0;
#X connect 25 0 24 0;
#X connect 26 0 35 0;
#X connect 38 0 35 0;
#X connect 41 0 35 0;