# Photo rotation - is it just me?

**URL:** <https://forum.getodk.org/t/photo-rotation-is-it-just-me/35744>\
**Category:** Support\
**Tags:** odk-collect\
**Created:** [November 12, 2021, 1:34pm UTC](https://forum.getodk.org/t/photo-rotation-is-it-just-me/35744 "2021-11-12T13:34:55Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![ahblake](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ahblake/32/22392_2.png) [@ahblake](https://forum.getodk.org/u/ahblake)\
**Post date:** [January 18, 2022, 11:31pm UTC](https://forum.getodk.org/t/photo-rotation-is-it-just-me/35744/13 "2022-01-18T23:31:19Z")

</div>

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)](https://forum.xda-developers.com/t/rom-official-11-lineageos-18-1-for-samsung-galaxy-s5-klte.4267517/), 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](https://forum.getodk.org/t/inflated-image-size-quality-compression/36282/2) -

- 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

---

_[View the full topic](https://forum.getodk.org/t/photo-rotation-is-it-just-me/35744)._
