Select to view content in your preferred language

Survey123 Image resolution too low when restricted and image does not fit in unrestricted

195
4
10-14-2024 01:41 AM
LeyonLloyd-Williams
Emerging Contributor

Hello,

 

Like the subject states, the image resolution is blurry when generating a survey123 report using ${fieldName | size:460:0} and when unrestricting the image using ${fieldName | getValue:””} it exceeds the word page and cuts the photo.

Is there a way to keep resolution when compressing images?

 

Any and all assistance is appreciated

Leyon

0 Kudos
4 Replies
abureaux
MVP Frequent Contributor

getValue:”" is correct.

Just combine it with size

E.g. ${image1 | getValue:"" | size:300:0}

More info here.

0 Kudos
LeyonLloyd-Williams
Emerging Contributor

The image is pixilated and unreadable using ${image1 | getValue:"" | size:300:0} instead of blurry

0 Kudos
abureaux
MVP Frequent Contributor

That may be a camera issue then? The getValue:"" property uncompresses the image file and essentially gives you the "raw" image. If the image is already of low quality, it won't help with that. You can check that a good quality image was uploaded by going to your Portal > opening the Feature Layer > going to the Data tab > locate the line entry > go to the attachments column and download the attachments.

0 Kudos
LeyonLloyd-Williams
Emerging Contributor

...

0 Kudos