Can you try this patch (this is the IOhannes patch) with very small modifications. ++
Jack Le vendredi 27 novembre 2009 à 15:46 +0100, Matteo Sisti Sette a écrit : > I modified IOhannes' patch to use pix_write instead of > pix_snap+pix_write and it also crashes, so it is not a difference > between pix_write and pix_writer: both crash. > > I'll have a look at what's different between IOhannes' and Jack's > patches that may explain why one crashes and the other does not.... > > > Matteo Sisti Sette escribió: > > IOhannes m zmoelnig escribió: > >> Matteo Sisti Sette wrote: > >>> Ok, IOhannes' patch seems to be what I was looking for, however I have > >>> the following problems: > >>> > >>> - The patch out-of-the-box saves unreadable tiffs just like Jack's > >> > >> which OS? > > > > Windows Vista :( > > > > > >>> - By sending it a [file something 95( to pix_writer in order to have > >>> jpegs saved instead of tiffs, which DOES work with [pix_write], pd > >>> crashes!!!!! > > > >> it's really the same object as [pix_write], just without the snap-code. > > > > Then the strange thing is that Jack's patch with pix_write does not > > crash when saving jpegs (it saves black images but i guess it might be > > some trivial error in the patch) while your patch with pix_writer > > does.... How may I avoid the crash??? > > It does not crash when I send the [file ...( message but when I try to > > save the first snapshot after it. > > > > > > Where can I find some documentation more detailed than the help patches > > in order to understand the mechanisms? I get quite lost when trying to > > understand how your patch (for example) works. I more or less understand > > the notion of gem chain, gem list, and, for example, separators, but I > > still get lost when [gemframebuffer] enters the scene, I don't even > > fully understand why it is needed at all in your patch, for example...... > > > > Thanks again and again > > > >
#N canvas 597 83 590 585 10; #X obj -189 148 gemhead; #X obj -189 185 gemframebuffer; #X obj 129 -10 s gemchain; #X obj -189 211 translateXYZ 0 0 -4; #X msg -176 5 destroy; #X obj -107 121 loadbang; #X obj -190 287 r gemchain; #X obj -190 307 separator; #X obj -190 367 cube 0.1; #X obj -190 347 rotateXYZ 0 45 0; #X obj -190 327 translateXYZ -3 -1 0; #X obj -50 287 r gemchain; #X obj -50 307 separator; #X obj -50 327 translateXYZ 2 2 0; #X obj -50 347 scaleXYZ 2 1 1; #X obj -50 367 sphere 0.1 20; #X obj 279 404 gemhead 51; #X obj 80 287 r gemchain; #X obj 80 307 separator; #X obj 80 347 pix_video; #X obj 80 367 pix_texture; #X obj 80 387 rectangle 4 3; #X obj 80 327 translateXYZ 0 0 -1; #X obj 279 427 pix_texture; #X obj -189 38 gemwin; #X obj -50 407 r gemchain; #X obj -50 427 separator; #X obj -138 399 loadbang; #X msg -138 423 draw line; #X text -11 -27 <- 1; #X obj -50 447 sphere 5 20; #X obj 86 -11 t a a; #X obj 86 45 spigot 0; #X obj 131 23 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 86 69 t a b; #X obj 86 113 t a; #X obj 86 159 t b a; #X obj 86 181 t a; #X obj 279 449 rectangle 4 3; #X text 242 475 just for display; #X text 232 208 the grabber code; #X text -132 264 the scene...; #X text 149 23 <- 2; #X obj 86 91 t a b; #X msg -107 148 dimen 800 600; #X obj 86 135 pix_snap 0 0 800 600; #X msg -189 -25 dimen 400 300 \, create \, 1; #X obj 86 207 pix_write 0 0 800 600; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 1 1 23 1; #X connect 3 0 31 0; #X connect 4 0 24 0; #X connect 5 0 44 0; #X connect 6 0 7 0; #X connect 7 0 10 0; #X connect 9 0 8 0; #X connect 10 0 9 0; #X connect 11 0 12 0; #X connect 12 0 13 0; #X connect 13 0 14 0; #X connect 14 0 15 0; #X connect 16 0 23 0; #X connect 17 0 18 0; #X connect 18 0 22 0; #X connect 19 0 20 0; #X connect 20 0 21 0; #X connect 22 0 19 0; #X connect 23 0 38 0; #X connect 25 0 26 0; #X connect 26 0 30 0; #X connect 27 0 28 0; #X connect 28 0 30 0; #X connect 31 0 32 0; #X connect 31 1 2 0; #X connect 32 0 34 0; #X connect 33 0 32 1; #X connect 34 0 43 0; #X connect 34 1 33 0; #X connect 35 0 45 0; #X connect 36 0 37 0; #X connect 36 1 37 0; #X connect 37 0 47 0; #X connect 43 0 35 0; #X connect 43 1 35 0; #X connect 44 0 1 0; #X connect 45 0 36 0; #X connect 46 0 24 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
