in few recent projects it has happened that images download from ODK central cannot be opened.
This happens either downloading the files directly from central (one by one), or downloading the whole dataset (.zip).
Trying to open it with Preview gives:
"The file “1674799383068.jpg” could not be opened. It may be damaged or use a file format that Preview doesn’t recognise."
It does not happens for all enumerators.
We also have a "signature" input which looks fine, also for the enumerator whose collected image is unreadable
data are hosted on Central 1.2.2
The image field is defined in the XLS form like this:
What can be the reason?
Does it depend on the behavior of the enumerator? (for example trying to upload a file which is not an image?)
Does it depend on the version of Collect/Central? I noticed that now images are stored as jpg, before they were png.
However, files received from Samsung Galaxy A02, Tecno Camon (with MediaTek), and other Xiaomi models look good. I also looked back into previously collected data, in 2021 we had images taken with a Tecno Spark 2, and saved as png, which were readable.
This indeed suggests that the problem is with the phone.
Although I cannot say that I screened all previously collected pictures in the last couple of years, I have not seen this problem before (also with previous versions of ODK Collect).
Is there any additional test that I could ask to the enumerators and that could interfere with the image upload?