Home | Zones | Log in | Register

resizing a photo and the photo rotate tag?

Nobody

when i ul photos from my phone its almost always rotated 90 ccw off of the normal

even when i take it w my phone fully vertical w what should be no rotation tag

it maybe seems to take the rotation tag, rotate the photo, resize it, forget about the rotation tag and then not rotate it back after it resizes?

gonna test some stuff in the posts below

once i think i had my phone turned and the photo uled 180 turned

also when i go into my photos and manually rotate and save the img
and then rotate it back to proper orientation and save that
it uploads properly

taken w phone rotating ccw each time in phones photo app

IMG_5516.JPG

vert phone

Edited by imgay at 2018-01-22 04:08:592018-01-22 04:08

IMG_5517.JPG

horiz ccw phone

Edited by imgay at 2018-01-22 04:09:112018-01-22 04:09

IMG_5518.JPG

upside down phone

Edited by imgay at 2018-01-22 04:09:202018-01-22 04:09

IMG_5519.JPG

horiz cw phone

Edited by imgay at 2018-01-22 04:09:312018-01-22 04:09

thats four unique photos not manually rotated

now i go into my phone settings and rotate the first pic off normal

IMG_5516.JPG

first photo rotat 180 save

Edited by imgay at 2018-01-22 04:09:442018-01-22 04:09

and then rot back to how it was and save again

IMG_5516.JPG

first photo rotated 180 again and saved

Edited by imgay at 2018-01-22 04:09:572018-01-22 04:09

now its not wrong

image.jpg

i think this is what i did when i had a photo rot 180 once

i took it with the (choose files) then and instead of uploading from camera roll i picked (take a picture)

it was probably a horizontal photo

image.jpg

yeah idfk lmao

i found some open source code to handle this, i’ll integrate it soon
https://github.com/perkeep/perkeep/blob/3c161f/pkg/images/images.go#L350

bird on skateboard

IMG_8672.JPG

still rotated wrong

oops

forgot about this lolol

bird on skateboard

i might have fixed it… maybe… try it with different images

bird on skateboard

it seems to be working now yeah

Reply:
To reply to this thread, please join this community.
1 person is reading this thread now.
Thread List | ↑ Top