Log In  


Hi, I tried searching through the API and on the BBS so I guess the answer is no but thought I'd ask explicitly in case I missed the info. Can you write programs that access the user camera (e.g. to write an experimental camera/filter application)?

If no immediately available way, could you write a Picotron app to take image input (jpg, png for example) through input in an application, that you then manipulate?

I am trying to decide if Picotron is the right software to work on some test applications I want to build. Thanks.



It can't access it directly, but you can make (and someone has made) an external program send camera data to Picotron.


Thanks for the fast answer. Okay, so I'm now checking out arnaught's Image Viewer cart Image Viewer. It looks like an app is sandboxed to only allow upload from the fantasy workstation's file system only. In other words, I wouldn't be able to make an application that I could host online that would allow someone to upload their own image? Instead, it would only allow someone to run Picotron themselves, get images into the Picotron filesystem first, and THEN they'd be allowed to upload images in the program?


I was thinking of this post:
https://www.lexaloffle.com/bbs/?tid=143644


Hmm, can't really tell what's going on there. But at least so far I don't see there is a way to distribute an application for Picotron, via the web or a distributed Picotron standalone app that allows for image upload outside of the sandboxed platform yet.


If you want to load, process, and output images, the following article may be helpful.

https://www.lexaloffle.com/bbs/?tid=146235

The drive referenced by the exported binary program is different from usual; in the case of Windows it is "exp/shared/drive/...", so you may need to be creative with how you load the file.

Just to be sure, I output a png image from the binary-exported program, and it seemed to work fine.

(I haven't tried linking it with external programs yet, so I don't know.)


Thanks, this is useful research. It looks like a bit of a confusing situation so I'm going to hold off with my ideas for a Picotron photo editor application for now, but thanks for all this info folks. Hopefully, an easier way to allow file input and save gets implemented in Picotron at some point.



[Please log in to post a comment]