#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 #e0e0e0 #404040 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 #bcbcbc #404040 0;
#X text 26 303 Arguments:;
#X obj 17 69 cnv 15 430 230 empty empty empty 20 12 0 14 #e0e0e0 #404040 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 #dce4fc #404040 0;
#X text 463 60 Example:;
#X obj 604 313 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 460 132 cnv 15 270 170 empty empty empty 20 12 0 14 #14e814 #404040 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 #fcfcfc #000000 #000000 0 1;
#X obj 471 215 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#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 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;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION write the current texture to a file;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist file;
#X text 20 105 OUTLET_0 gemlist;
#X text 10 125 AUTHOR IOhannes m zmölnig;
#X text 10 145 LICENSE GPL v2;
#X restore 608 18 pd META;
#X text 571 263 OSX format;
#X obj 610 320 _gemwin;
#X obj 461 106 pix_test;
#X connect 15 0 43 0;
#X connect 16 0 32 0;
#X connect 21 0 32 0;
#X connect 22 0 21 0;
#X connect 23 0 32 0;
#X connect 37 0 32 0;
#X connect 43 0 32 0;
