Here https://github.com/opendatakit/collect/pull/1210 we have started a discussion about adding an option to settings in order to setting image size for all widgets.
My proposal is to add a dialog with three options:
@lognaturel @yanokwa what do you think?
@grzesiek2010 , was this resolved?
My suggestion here, I think we can add this under Shared Preferences for the user to be able to adjust to Low Res images as it is with High Res video recording under General Settings.
@kusaasira no it isn't.
I wanted to do that since I implemented the same on a form level https://github.com/opendatakit/collect/pull/1210 but I had more important issues to fix that's why I havent even thought about it much.
I think it should be marked with "needs discussion" label.
@opendatakit-bot label "needs discussion"
Probably @lognaturel and @yanokwa have some ideas and I mentioned them above but they are busy so looks like they didn't have time to think about it.
@grzesiek2010 Just to clarify - will the form-level settings overrule any user settings?
From a project management side it's preferable to be able to force images to a low resolution for a specific form, even if the user happens to change his local settings to high-res, so that we can prevent bloat on the server side.
@acawood777 yes form-level settings should be more important since you can specify max image size for each question there.
Let's assume we have both option implemented.
If you set max pixels in General Settings it should impact all image questions apart from those you specified max pixels on a form level (since as I said it's more important).
@grzesiek2010 @grzesiek2010 does ODK have any form level settings on the other hand? And would it be hectic too for all the forms each time a new form is downloaded to the phone?
By form-level settings I mean this https://github.com/opendatakit/collect/pull/1210 you can find there an example form to use. If you want to set the max-pixels value for specific question you can add for example max-pixels="1500" .
It's not like General Settings in the app sorry for misunderstanding it's something you can add in your form.
Thanks for reviving this conversation. The only thing we need to decide before this can be completed is what the different size options should be.
Because device cameras vary so much, I strongly feel that the size options should be absolute and not relative to the original image size. For example:
As a reminder, those values will represent the maximum pixels of the long edge of the image.
@acawood777, @kusaasira and @grzesiek2010 what do you think?
Sounds good to me.
@kusaasira do you want to work on it? Otherwise I'll take it since I've implemented #1210
@grzesiek2010 please take it on. Will be ready to review and since you have also implemented something similar before, you are in a much better position to do so.
@lognaturel this is a good idea. I second it.