#N canvas 200 49 843 513 10; #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 : set basefilename \, and type = TIFF; #X text 52 418 Inlet 1: file : set basefilename and type; #X text 466 15 GEM object; #X obj 459 77 cnv 15 250 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 240 170 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 461 84 gemhead 51; #X msg 539 139 file pix_test 99; #X text 652 161 type : jpg; #X text 652 150 name : pix_testXXXXX.jpg; #X text 652 174 quality : 99; #X text 652 138 set pix_write to:; #X msg 540 191 auto \$1; #X obj 540 172 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 541 215 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 560 214 WRITE! one file; #X text 52 393 Inlet 1: file : 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: "." (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 text 541 263 osx format; #X msg 540 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 593 190 activate/deactivate auto snapshot; #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 42 0 35 0;