Page 1 of 1

Camera preview sprite

Posted: Mon Nov 09, 2015 10:24 pm
by rbytes
I have been doing a little more experimenting with the command CAMERA N$ VIEW S$
It works just fine for previewing the camera, but if I try to STAMP or SAVE the sprite S$ while it is displaying the camera, the result is a blank image.

Why is this?

Re: Camera preview sprite

Posted: Tue Nov 10, 2015 2:48 am
by Mr. Kibernetik
Because it is not a sprite but a camera preview window.

Re: Camera preview sprite

Posted: Tue Nov 10, 2015 2:52 am
by rbytes
This is what the user guide says:

CAMERA N$ VIEW S$
displays camera [n$] inside sprite [s$].

Re: Camera preview sprite

Posted: Tue Nov 10, 2015 4:53 am
by Mr. Kibernetik
Yes, normally sprite is under control of sB, but in this case sprite's contents is under software and hardware control of the camera. That is why it can be used only as a camera preview window.