mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Photos taken with Mergin corrupted after Android update

Open qnmai opened this issue 2 years ago • 11 comments

We have observed some strange behavior on our tablets that have been updated.

The photo files created when taken with the Mergin Map are not complete. They are visible in the application, but the jpeg file can not be viewed. The file size is also much smaller. I've attached two jpeg files --one that is working, and one that has an issue. JPEG_20230524_155428_4709793986849645091_photo prise après mise a jour d JPEG_20230526_134310_370074290583846860

Before updating the android system, it was working.

Specs before update:

Matériel : Galaxy Tab A ( 8.0’’, 2019) Model : SM-T295 Version One UI Core : 2.1 Version Android : 10 Version de la bande de base : T295XXU3BTI3 Version Kernel : 4.9.186-perf-1896104 #1 Thu Dec 3 16 :23 :45 +07 2020 Numero de la version : QP1A.190711.020.T295XXS3BTL2 Version du logiciel de l’opérateur : SAOMC_SM-T295_OXM_XEF_QQ_0006, R9WMA1AVE0J, XEF/XEF/ Verion logiciel sécurité : VSKM v3.1 Release 20200120, ADP v3.0 Release 20191001, SMR Dec-2020 Release 1 Niveau correctif sécu. Android : 1 décembre 2020

Specs after update:

Matériel : Galaxy Tab A ( 8.0’’, 2019) Model : SM-T295 Version One UI Core : 3.1 Version Android : 11 Mise à jour système Google Play : 1 mai 2023 Version de la bande de base : T295XXS5CWC1 Version Kernel : 4.9.227-perf-23850358 Numero de la version : RP1A200720.012.T296XXS5CWC1 Etat de SE for Android : Enforcing, SEPF_SM-T295_11_0004, Tue Mar 14 15 :59 :59 2023 Version du logiciel de l’opérateur : SAOMC_SM-T295_OXM_XEF_RR_0012, XEF/XEF/ Verion logiciel sécurité : VSKM v4.5 Release 20220314, ADP v3.0 Release 20191001, SMR Dec-2022 Release 1 Niveau correctif sécu. Android : 1 décembre 2022

qnmai avatar Jul 21 '23 23:07 qnmai

Thanks for reporting the problem.

Can you please check your QGIS project properties for Mergin Maps? Is it configured to keep original photo quality?

obraz

erpas avatar Jul 24 '23 07:07 erpas

Hello,

Yes, the default Original setting was conserved.

Best, Quynh

On Sun, Jul 23, 2023 at 9:47 PM Radek Pasiok @.***> wrote:

Thanks for reporting the problem.

Can you please check your QGIS project properties for Mergin Maps? Is it configured to keep original photo quality?

[image: obraz] https://user-images.githubusercontent.com/3106699/255521015-410d61a7-4bf5-44df-8e26-a102c332dc38.png

— Reply to this email directly, view it on GitHub https://github.com/MerginMaps/input/issues/2734#issuecomment-1647390457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7GUA7H3YTCU3JKUNGEGATXRYSC3ANCNFSM6AAAAAA2TNZ33E . You are receiving this because you authored the thread.Message ID: @.***>

qnmai avatar Jul 27 '23 02:07 qnmai

Hello,

Update after fiddling with the file size properties under QGIS project properties. The resulting files are still incomplete.

Best, Quynh

On Wed, Jul 26, 2023 at 4:04 PM Niu Mai @.***> wrote:

Hello,

Yes, the default Original setting was conserved.

Best, Quynh

On Sun, Jul 23, 2023 at 9:47 PM Radek Pasiok @.***> wrote:

Thanks for reporting the problem.

Can you please check your QGIS project properties for Mergin Maps? Is it configured to keep original photo quality?

[image: obraz] https://user-images.githubusercontent.com/3106699/255521015-410d61a7-4bf5-44df-8e26-a102c332dc38.png

— Reply to this email directly, view it on GitHub https://github.com/MerginMaps/input/issues/2734#issuecomment-1647390457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7GUA7H3YTCU3JKUNGEGATXRYSC3ANCNFSM6AAAAAA2TNZ33E . You are receiving this because you authored the thread.Message ID: @.***>

qnmai avatar Aug 03 '23 02:08 qnmai

Hi @qnmai . From your first comment, is it the first photo that is considered incomplete? By incomplete do you mean low quality? Because the problem doesn't seem to be of any other kind. Are both photos taken by same device? Do you experience this issue on other devices? The first photo that has low resolution seems to be taken exactly with low photo quality setting, that's why erpas suggested checking the configuration. Would it be possible that camera itself is taking the photos in such quality? Perhaps the camera settings were changed.

Tadeo98 avatar Aug 08 '23 08:08 Tadeo98

Hi,

The file can't be viewed from the windows photo viewer in Windows (tested on 7, 10, and 11). We get the message as in the photo attached. We reset our tablet to factory settings to verify the camera settings. It started occurring after an android update.

Best, Quynh

On Mon, Aug 7, 2023 at 10:32 PM Tadeo98 @.***> wrote:

Hi @qnmai https://github.com/qnmai . From your first comment, is it the first photo that is considered incomplete? By incomplete do you mean low quality? Because the problem doesn't seem to be of any other kind. Are both photos taken by same device? Do you experience this issue on other devices? The first photo that has low resolution seems to be taken exactly with low photo quality setting, that's why erpas suggested checking the configuration. Would it be possible that camera itself is taking the photos in such quality? Perhaps the camera settings were changed.

— Reply to this email directly, view it on GitHub https://github.com/MerginMaps/input/issues/2734#issuecomment-1669164433, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7GUA2IDD4SBRR5K7YDQELXUH2RRANCNFSM6AAAAAA2TNZ33E . You are receiving this because you were mentioned.Message ID: @.***>

qnmai avatar Aug 09 '23 01:08 qnmai

Hi @qnmai , thank you for your response. It is hard to tell in what way the image is corrupted as it is seems it is rendered correctly here in Github (2 attached photos, first in lower quality, second in high quality, both shown properly) and even after downloading them they can be opened and seen just as any regular image. Let us know if the reset resolved the issue.

Tadeo98 avatar Aug 09 '23 08:08 Tadeo98

Hi, We reset and it still creates the small photo with the error message (on windows 10 and 11). Not sure where to go from here...

On Tue, Aug 8, 2023 at 10:25 PM Tadeo98 @.***> wrote:

Hi @qnmai https://github.com/qnmai , thank you for your response. It is hard to tell in what way the image is corrupted as it is seems it is rendered correctly here in Github (2 attached photos, first in lower quality, second in high quality, both shown properly) and even after downloading them they can be opened and seen just as any regular image. Let us know if the reset resolved the issue.

— Reply to this email directly, view it on GitHub https://github.com/MerginMaps/input/issues/2734#issuecomment-1670890807, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7GUA4AIRSDFS6SKXTLGV3XUNCQNANCNFSM6AAAAAA2TNZ33E . You are receiving this because you were mentioned.Message ID: @.***>

qnmai avatar Aug 18 '23 23:08 qnmai

another information regarding the photo with an error -- photos taken with the regular camera (not from mergin) are regular and can be viewed.

thanks in advance

On Fri, Aug 18, 2023 at 1:16 PM Niu Mai @.***> wrote:

Hi, We reset and it still creates the small photo with the error message (on windows 10 and 11). Not sure where to go from here...

On Tue, Aug 8, 2023 at 10:25 PM Tadeo98 @.***> wrote:

Hi @qnmai https://github.com/qnmai , thank you for your response. It is hard to tell in what way the image is corrupted as it is seems it is rendered correctly here in Github (2 attached photos, first in lower quality, second in high quality, both shown properly) and even after downloading them they can be opened and seen just as any regular image. Let us know if the reset resolved the issue.

— Reply to this email directly, view it on GitHub https://github.com/MerginMaps/input/issues/2734#issuecomment-1670890807, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7GUA4AIRSDFS6SKXTLGV3XUNCQNANCNFSM6AAAAAA2TNZ33E . You are receiving this because you were mentioned.Message ID: @.***>

qnmai avatar Aug 24 '23 22:08 qnmai

Hi, so we can assume, that this issue is related only to device Galaxy Tab A and only when the photo is taken within the Mergin Maps app, right? Other devices do not experience such issue, right?

Tadeo98 avatar Aug 25 '23 07:08 Tadeo98

Could you please try to test taking a photo within other project, like one you can find here - https://app.merginmaps.com/projects/documentation/form_setup/tree It would be helpful to see whether the issue persists across all the projects, even such basic project as the one I redirected you to. Thank you!

Tadeo98 avatar Aug 25 '23 07:08 Tadeo98

Hi,

Confirming that this was an issue on our Galaxy Tab A with Mergin maps (multiple versions) that did not occur on our Galaxy Active3. It occurs on multiple projects. I will test your project too when I have a moment.

Best, Quynh

On Thu, Aug 24, 2023 at 9:33 PM Tadeo98 @.***> wrote:

Hi, so we can assume, that this issue is related only to device Galaxy Tab A and only when the photo is taken within the Mergin Maps app, right? Other devices do not experience such issue, right?

— Reply to this email directly, view it on GitHub https://github.com/MerginMaps/input/issues/2734#issuecomment-1692904142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7GUAY4BW6VILHFZGZDHNLXXBILDANCNFSM6AAAAAA2TNZ33E . You are receiving this because you were mentioned.Message ID: @.***>

qnmai avatar Sep 14 '23 19:09 qnmai

Please reach out to our support team at [email protected] in case this is still an issue.

tomasMizera avatar Aug 28 '25 16:08 tomasMizera