Profile images are being incorrectly rotated when loaded.
-
Profile images are being incorrectly rotated when loaded.
-
-
@CityguyUSA
I tested updating a profile image on Vivaldi.net, but could not reproduce the rotation issue. Does it happen with every image you upload? -
@jane-n Looks like maybe the image uploader does not properly handle image with EXIF Rotation values.
Test with image from here:
https://github.com/recurser/exif-orientation-examplesSolution for user is to remove EXIF data. But not always something users know how to do as it requires the needed tools ... There are some online tools for this, but generally they just remove EXIF data and but does not actually rotate the image before, so ends up with an image with wrong rotation.
-
@jane-n Yes, I thought at first it was just those that were taken with the camera in vertical mode but that is not true.
-
Even if I take out the META DATA still the same.
-
@CityguyUSA said in Profile images are being incorrectly rotated when loaded.:
Even if I take out the META DATA still the same.
How do you do that?
Could you please share one of the images, like the one you saved above?
But don't paste on this forum, as it will change the image.
Use a file upload service like https://wormhole.app -
This is the app I use it's a context menu item in my file manager. Can I say that it takes out EXIF? I can't swear to it but I think it does.
Here's the link: https://wormhole.app/RZN0P#VDN7UUwdGQZ4EjoMe2UWIg
-
@CityguyUSA said in Profile images are being incorrectly rotated when loaded.:
Can I say that it takes out EXIF? I can't swear to it but I think it does
Well, I'm not so sure it does. When it says "that doesn't affect rendering" - what does that mean exactly? EXIF orientation does affect rendering in a very important way.
I had a look at the file, it contains:
Filename - 20230206_120156 (Small).jpg Orientation - Bottom right Exif-IFD-Offset - 38 ColorSpace - sRGB
So "Bottom right" would mean a value of "3", basically upside down and mirrored.
http://sylvana.net/jpegcrop/exif_orientation.htmlWhen I open that file in Irfanview, it shows the right way up - because Irfanview correctly rotates the image based on the EXIF orientation.
But trying to upload that image as a Vivaldi profile image I get the same thing as you:
So this is the problem that needs to be fixed on the Vivaldi server-side uploader.
-
OK. So then it's a problem. If you're telling me it's responsible for direction although I'm not sure why it wouldn't be assumed to be in the correct position by default unless someone did something to the image to purposely flip it.
-
@CityguyUSA No, your image is upside down. Try taking a photo with your phone the right way up
But seriously, this is not your fault. This needs to be fixed on the Vivaldi server side. Might take some time.
Until then, get a photo without EXIF data taken the wrong way around - and get a proper photo editor to verify this (like Irfanview, it has a built-in EXIF viewer).
-
I have Irfan view but i don't know much about EXIF other than what you just told me. And the sideways one I should turn on my side?
-
@CityguyUSA In Irfanview, it should be enough to press 'E' while viewing an image to view the data. Not sure if it requires a plugin - I think it's built-in.
But stuff gets complicated when it comes to rotating images vs. EXIF data.
IMO your best bet is like I said - take a photo with your phone the right way up. Most phones have a right way and a wrong/upside-down way. Not sure about iPjones, I don't go there.
I remembered, Windows has a built-in way to view and even remove EXIF data, read:
https://www.addictivetips.com/windows-tips/image-exif-data/
https://www.mjbpix.com/how-to-check-the-exif-data-in-your-photos/ -
@CityguyUSA Since the profile image is so small (looks like
320px x 320px
), you could just use the Windows screenshot tool (Windows
+Shift
+S
) to get the proper orientation in a new image file. A weird workflow for sure, but for something as low stakes as a low resolution profile photo, it is probably the easiest way to get it working quickly.Are you using some editor to rotate/flip the images after you take them? Don't think a camera should output that EXIF rotation by default.
-
Hmmm. I usually know which way is up.
-
@nomadic I did the screen shot but it still turned it sideways.
-
@CityguyUSA In IrfanView, Settings, JPG, disable the Auto-rotate checkbox. The image will then be upside down when loaded.
Rotate the image the right way up by pressing "R" shortcut twice, and save without the Exif data.
-
@CityguyUSA Here, I fixed it for you:
https://ttm.sh/BK6.jpgTip: Vivaldi can actually show (some) EXIF data. Just open the image, hit the:
It should show:
0ยฐ is the right way up, 180ยฐ is upside down
-
@CityguyUSA, our dev will look into this.
-
Great I really didn't want to get into all this massaging just to load a photo.