darwin-camera
darwin-camera copied to clipboard
filePath and in-memory use instead of local FS
could u push something else in filePath parameter of the DarwinWidget so it doesnt save it in a file but instead gives u a object in the memory which contains the image ?
This would be really nice.
Hey @zstima Using in-memory image object can be tricky given images can have a large size. Usually it's easy to push the captured image on disk which can be later retrieved and reduced in size for preview.
Regarding the filePath
parameter, it can be a local file path or something outside the app scope as well. (Report a bug here in case it's not happening).
Nonetheless, If you find better implementations of handling images in-memory, do share & feel free to raise a PR.