Initially i thought so too because i simply resized it just a tiny bit to test the theory, thought it could be it but now i learned it might not be the case, and could be the camera app issue, some encoding of sort idk. Lets take this two pic for example:
This is the original, unedited. It rotated
This is the edited but without resize, it didn’t rotated
Both image is same sized, both displayed in my phone gallery as portrait. So it could be…something. I haven’t tried using other camera app or another phone tho.
edit: tried using pro cam x lite and it also get rotated :\
Quoted fromDivephotoguide :
defining Landscape vs. Portrait Orientation
Unless your images are cropped or captured as a square—i.e., equal dimensions on all sides—they belong to two categories of orientation: landscape or portrait. The length of the longest side determines the orientation. For example, if the height of the image is longer than the width, it is a “portrait” format. Images where the width is longer are called “landscape.”
I think it’s related to this? Damn it I never realized this despite studying multimedia in final year… (we did study image transformations)
But the one that get rotated have the same dimension though, that’s what confused me. I checked the detail of both file, other than dpi difference, both have the same data.
Hmm, i could send it to you, but i think you could also make it yourself and i bet the result will still be the same since it shouldn’t be unique to my phone. Just took a photo in portrait and tried upload it here, then click preview(result will be the same as reply)
Maybe it’s the lemmy dev’s way to protest against portrait mode 😂
Oh… I was looking at the other repository (the server one) so I missed this. They’re right though, it’s probably the metadata. Time to play around a bit.
Yep, the metadata got screwed up! This is the image you sent, and…
Maybe you could post the original image under that ticket too? plus what I sent in this comment(basically, the result that occured - the height and weight in the exif data terbalik) :D case closed? how it occurred is another mystery tho
huh… that’s weird. but at least the 4000px height rule applies from images on your mobile right?
Initially i thought so too because i simply resized it just a tiny bit to test the theory, thought it could be it but now i learned it might not be the case, and could be the camera app issue, some encoding of sort idk. Lets take this two pic for example:
This is the original, unedited. It rotated
This is the edited but without resize, it didn’t rotated
Both image is same sized, both displayed in my phone gallery as portrait. So it could be…something. I haven’t tried using
other camera appor another phone tho.edit: tried using pro cam x lite and it also get rotated :\
Nice dress tina!
Haha, that’s her punishment for playing with tissue roll >:)
it’s ok at least we have some progress!
Quoted fromDivephotoguide : defining Landscape vs. Portrait Orientation
Unless your images are cropped or captured as a square—i.e., equal dimensions on all sides—they belong to two categories of orientation: landscape or portrait. The length of the longest side determines the orientation. For example, if the height of the image is longer than the width, it is a “portrait” format. Images where the width is longer are called “landscape.”
I think it’s related to this?
Damn it I never realized this despite studying multimedia in final year… (we did study image transformations)But the one that get rotated have the same dimension though, that’s what confused me. I checked the detail of both file, other than dpi difference, both have the same data.
the left one is edited
hmm… any way I can access these image files directly? it doesn’t make sense anymore
Hmm, i could send it to you, but i think you could also make it yourself and i bet the result will still be the same since it shouldn’t be unique to my phone. Just took a photo in portrait and tried upload it here, then click preview(result will be the same as reply)
Maybe it’s the lemmy dev’s way to protest against portrait mode 😂
hmm alright lemme go get some pics and try later
Thanks for the work!
Ohh hey, someone actually opened a ticket a few days ago
https://github.com/LemmyNet/lemmy-ui/issues/1329
Oh… I was looking at the other repository (the server one) so I missed this. They’re right though, it’s probably the metadata. Time to play around a bit.
Yep, the metadata got screwed up! This is the image you sent, and…
Maybe you could post the original image under that ticket too? plus what I sent in this comment(basically, the result that occured - the height and weight in the exif data terbalik) :D case closed? how it occurred is another mystery tho