Page 5 of 5

Re: Another Webcam Demo Program

Posted: Tue Sep 18, 2018 8:37 pm
by zefiro_flashparty
i test escapi21
mm error in the line
PokeA(x3+2,gammaTable(p1 >> 16))

[13:13:34] [ERROR] Array index out of bounds.

if silence the line works but it looks strange
I do not know if by the colors,
the example below that turns is very funny haha
I was looking at the line of rotation

RotateCoordinates(scp\mWidth/2, scp\mHeight/2, now / 10)

I see that if I do not use it, the image is inverted upwards,
How can I rotate it 180ยบ?
RotateCoordinates(scp\mWidth/2, scp\mHeight/2, 180 )
ah!

Re: Another Webcam Demo Program

Posted: Tue Jul 09, 2019 9:00 pm
by Lunasole
Very nice. I was looking for some simple stuff to capture webcam images (for another own foolish program), thank a lot for pointing me to that ESCAPI.

PS. Looks like they removed Purebasic examples of version 3, but one from v2 works fine with few changes.