I've dusted off an old handset and will sign in with a different account to test this, thanks @LN, it will save me a lot of headaches too.
Edit:
Samsung Galaxy S5 SM-G900F, Android 11 (Lineage), default camera application
ODK Collect V2022.1 Beta 2
Tested capture & choose image, and annotate capture, with max-pixels=4000
(sensor is 5312x2988, annotated images 1920x1080 screen resolution)):
Portrait_up_0deg_cap_markup
Landscape_90CW_cap_markup
Landscape_90CCW_cap_markup
Portrait_180CW_cap_markup
Portrait_up_0deg_capture
Landscape_90CW_capture
Landscape_90CCW_capture
Portrait_180CW_capture
Portrait_up_0deg_select
Landscape_90CW_select
Landscape_90CCW_select
Portrait_180CW_select
All 12 images were correctly oriented when opened in Irfanview with auto-rotate according to EXIF checked. (A sample opened in Chrome / Edge / MSPaint were also correct)
Annotated images had minimal EXIF tags (Filename, ImageWidth, ImageLength, ExifOffset, Orientation, Lightsource), all capture data was stripped, orientation = 0
Non annotated images had full EXIF tags and orientation as:
Portrait_up_0deg_capture - Right top
Landscape_90CW_capture - Bottom right
Landscape_90CCW_capture - Top left
Portrait_180CW_capture - Left bottom
Portrait_up_0deg_select - Right top
Landscape_90CW_select - Bottom right
Landscape_90CCW_select - Top left
Portrait_180CW_select - Left bottom
Note: re image filesizes -
- ODK image EXIF tags show the original image dimensions as (5312x2988) even though the image is 4000x2250)
- The non annotated images were ~4mb ea, resaving with JPG quality 75 resulted in a ~0.5mb file with correct pixel dimensions
- Comparing ODK to different quality for one image: ODK: 3.8mb, Q100 4.2mb Q99 3.7mb, Q90 0.9mb, Q75 0.4mb)
- The annotated images were ~150kb, resaving as JPG quality 75 resulted in little change
- Because this OS has a different camera default I can select the capture resolution, which resulted in filesizes as (ODK / Q75) (no max-pixel applied as under 4000):
- EXIF tags show correct image dimensions
- Quality "High"
- 3264x1836: 1712 / 317 kb
- 2560*1920: 1396 / 270 kb
- 2048*1152: 843 / 185 kb
- 1280*720: 364 / 94 kb
- Quality "Standard"
- 3264x1836: 499 / 334 kb