There is another way, using the procambase64 extension
theprocamwayto64.aia (34.3 KB)
This takes a preview (thumbnail) picture instead of the full camera image. Is going to depend on your needs and final image quality. if only viewing on phones, and you do not need fine detail, this might be all you need in terms of size/resolution.
