We have a form, made using Excel, which will allow us to take pictures and upload these to ODK aggregate. We want to restrict the size of the image file so that the overall size of the completed ODK aggregate form is not too large. We are collecting the data on an Android Galaxy Tab A.
is it best to restrict the file size on the collect form or using the settings on the tablet?
This sounds like something I would be interested in implementing if it could be done from the xls.
However, the way I would advise you to do this now is from the camera settings on your camera.
Open the camera app.
Click on settings.
Click on image quality.
Select lowest resolution to shrink image size.
I will be following the thread to see if anybody else has an xls method.
Thank you very much for your help, that is exactly what I wanted to know. I thought there may be a way or restricting the file size on the form, as this would avoid the need to set multiple devices to low resolution. However, this is fine, it is easy to do!
It's already implemented in ODK Collect and you can do that in two different ways:
Go to General Settings -> Form management -> Image size and choose one of the available options. Then all images you take will be affected (it requires Collect v1.11.1)
If you want to specify a different size or you want to affect only one specific question you can specify the max size of the long edge of the image on a form level using: orx:max-pixels="1500" here is an example form: maxSize.xml (988 Bytes) (it required Collect v1.10.1 or newer)