I'm trying to implement motion-jpeg and I'm having problems with converting roByteArray to jpg.
Right now I'm doing this
frame = CreateObject("roByteArray")
...
frame.WriteFile("tmp:/photo.jpg")
dfDrawImage(screen, "tmp:/photo.jpg",0,0)
Is there a way to show the jpg without first saving it to a temporary file?
Thanks.
https://github.com/e1ioan/
http://rokucam.com