So first of all it seems that pix_write doesn't crash when saving if I
set the creation arguments with the size of the pix (same as the
pix_snap that precedes it). Note that pix_writer crashes anyway.
However, after minimizing the window and maximizing it again, the
"wish84 application" crashed.
I attach the crashing patch, just in case anyone can find the cause of
the crash.
I had been working with gem for years with a very old unofficial version
(2006) which seemed the only stable one, and it never crashed, but I
hadn't ever used pix_snap nor gemframebuffer nor pix_write. Now with the
last version it seems you can't trust it, everything makes it crash....
I'm considering doing the whole thing in Flash, and that would be a
shame....
Do you know of some relatively recent stable version? Or is it one of
these three objects that is unstable?
--
Matteo Sisti Sette
matteosistisette@gmail.com
http://www.matteosistisette.com
#N canvas 194 4 1246 744 12;
#X obj 788 659 gemwin;
#X msg 740 558 dimen 800 600 , create , 1;
#X msg 796 608 destroy;
#X obj 40 182 gemframebuffer;
#X obj 166 114 loadbang;
#X msg 166 143 dimen 2000 2000;
#X obj 39 280 t a a a a;
#X obj 39 239 translateXYZ 0 0 -4;
#X obj 605 546 separator;
#X obj 602 652 pix_texture;
#X obj 602 688 square 4 4;
#X obj 351 458 separator;
#X obj 349 503 t a b;
#X obj 386 539 spigot;
#X obj 383 572 t b b;
#X obj 432 510 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 472 547 0;
#X obj 349 634 pix_texture;
#X obj 408 391 s mainchain;
#X obj 140 366 separator;
#X obj 160 448 spigot;
#X obj 210 425 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 250 462 0;
#X obj 351 604 pix_snap 0 0 2000 2000;
#X obj 126 589 pix_snap 0 0 2000 2000;
#X obj 126 548 t a b;
#X obj 126 621 t b a;
#X obj 45 491 loadbang;
#X msg 19 519 file aaa 95;
#X obj 40 135 gemhead 50;
#X obj 1099 612 gemhead 52;
#X obj 1101 667 pix_texture;
#X obj 1095 707 square 4 4;
#X obj 953 35 r mainchain;
#X obj 952 104 pix_video;
#X obj 949 134 pix_info ----------;
#X obj 988 191 -;
#X obj 987 222 / 2;
#X obj 947 257 pix_crop;
#X obj 953 68 separator;
#X obj 945 284 pix_texture;
#X obj 1030 321 s videotexture;
#X obj 378 13 r mainchain;
#X obj 381 66 separator;
#X obj 379 93 pix_texture;
#X obj 460 60 r videotexture;
#X obj 607 8 r mainchain;
#X obj 617 71 separator;
#X obj 618 101 pix_texture;
#X obj 699 68 r videotexture;
#X obj 354 193 r mainchain;
#X obj 354 252 separator;
#X obj 355 273 pix_texture;
#X obj 436 240 r videotexture;
#X obj 593 201 r mainchain;
#X obj 592 255 separator;
#X obj 594 281 pix_texture;
#X obj 675 248 r videotexture;
#X obj 337 350 square 2 2;
#X obj 361 140 translateXYZ -2 -2 0;
#X obj 600 148 translateXYZ 2 -2 0;
#X obj 337 320 translateXYZ -2 2 0;
#X obj 576 328 translateXYZ 2 2 0;
#X obj 360 167 square 2 2;
#X obj 601 177 square 2 2;
#X obj 576 356 square 2 2;
#X obj 349 43 spigot;
#X obj 326 5 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 616 43 spigot;
#X obj 718 1 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 358 224 spigot;
#X obj 460 188 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 608 232 spigot;
#X obj 710 196 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 161 487 t a b;
#X obj 128 649 pix_write 0 0 2000 2000;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 7 0;
#X connect 3 1 31 1;
#X connect 4 0 5 0;
#X connect 5 0 3 0;
#X connect 6 0 19 0;
#X connect 6 1 11 0;
#X connect 6 2 18 0;
#X connect 6 3 8 0;
#X connect 7 0 6 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 11 0 12 0;
#X connect 12 0 23 0;
#X connect 12 1 13 0;
#X connect 13 0 14 0;
#X connect 14 0 23 0;
#X connect 14 1 16 0;
#X connect 15 0 13 1;
#X connect 16 0 15 0;
#X connect 17 1 9 1;
#X connect 19 0 20 0;
#X connect 20 0 74 0;
#X connect 21 0 20 1;
#X connect 22 0 21 0;
#X connect 23 0 17 0;
#X connect 24 0 26 0;
#X connect 25 0 24 0;
#X connect 25 1 24 0;
#X connect 26 0 75 0;
#X connect 26 1 75 0;
#X connect 27 0 28 0;
#X connect 28 0 75 0;
#X connect 29 0 3 0;
#X connect 30 0 31 0;
#X connect 31 0 32 0;
#X connect 33 0 39 0;
#X connect 34 0 35 0;
#X connect 35 0 38 0;
#X connect 35 1 36 0;
#X connect 35 2 36 1;
#X connect 35 2 38 1;
#X connect 35 2 38 2;
#X connect 36 0 37 0;
#X connect 37 0 38 3;
#X connect 38 0 40 0;
#X connect 39 0 34 0;
#X connect 40 1 41 0;
#X connect 42 0 66 0;
#X connect 43 0 44 0;
#X connect 44 0 59 0;
#X connect 45 0 44 1;
#X connect 46 0 68 0;
#X connect 47 0 48 0;
#X connect 48 0 60 0;
#X connect 49 0 48 1;
#X connect 50 0 70 0;
#X connect 51 0 52 0;
#X connect 52 0 61 0;
#X connect 53 0 52 1;
#X connect 54 0 72 0;
#X connect 55 0 56 0;
#X connect 56 0 62 0;
#X connect 57 0 56 1;
#X connect 59 0 63 0;
#X connect 60 0 64 0;
#X connect 61 0 58 0;
#X connect 62 0 65 0;
#X connect 66 0 43 0;
#X connect 67 0 66 1;
#X connect 68 0 47 0;
#X connect 69 0 68 1;
#X connect 70 0 51 0;
#X connect 71 0 70 1;
#X connect 72 0 55 0;
#X connect 73 0 72 1;
#X connect 74 0 25 0;
#X connect 74 1 22 0;