Weird exportimage with grab
Easter egg, or what? I was using jit.qt.grab in direct to window mode, tried the exportimage command, and got some crazy goth pic as a result. When not in direct to window mode, exportimage works as expected. Anytime I try it again in direct to window mode, the weird image is the resulting jpg.
Did I miss some discussion back in 1.0 or something? Anybody have any info on this. Just curious.
Tim
I just tried and it worked as expected, and I wasnt dressed in my
goth costume, so no gothy pictures here (I was pretty pasty though..
hmm). You sure you just dont know how you look?
post the pic! Im curious !
On Jun 5, 2007, at 12:35 AM, Tim wrote:
>
> Easter egg, or what? I was using jit.qt.grab in direct to window
> mode, tried the exportimage command, and got some crazy goth pic as
> a result. When not in direct to window mode, exportimage works as
> expected. Anytime I try it again in direct to window mode, the
> weird image is the resulting jpg.
>
> Did I miss some discussion back in 1.0 or something? Anybody have
> any info on this. Just curious.
>
> Tim
> --
> Tim Thompson
>
> Assoc. Professor of Music
> Palm Beach Atlantic University
v a d e //
www.vade.info
abstrakt.vade.info
Well, I had deleted all the images, so I tried it again. This time I got a different image. What I figured out after some experimenting is that the image is whatever was the initial frame when the "window foo" command was sent to the grab object. After that, no matter whether the input device is closed and reopened or not, the image is always of the same frame. The only way to get a different image is to disassociate the grab object from the window and reassociate it. The same issue persists, but with a different frame.
I guess it so happened when I first posted this that the frame in the source material was really weird by itself. I can't imagine where it came from--I forgot what I had coming in at that time--probably just TV programming. It was spooky. I wish I had kept it.
Anyway, can't reproduce it?
Here is a basic grab setup. I am using 4.6.2 and Jitter 1.6.2. My input device was the DFG1392e.
No big deal. I'm now using gl.videoplane for output anyway.
Tim