Sign in to follow this  
MichalD

Fixing image rotation

Recommended Posts

To fix image rotation use https://www.onlineimagetool.com/en/rotate-png-jpg-webp-gif and select "auto" for rotation then upload the saved image. 

Images can have additional information stored in what's called the "exif metadata". The exif metadata can store rotation (eg. 0°, 90°, etc) in addition to the unrotated image pixel data. Sailing anarchy forums don't apply the exif metadata rotation (a bug in the software if that's the case). Another useful thing would be for them to automatically resize images down to a smaller size. 

The attached image was take with a Google Pixel 3 with EXIF orientation set and displays correctly on most modern image viewers. 

Full exif data of the image below:

Make Google
Camera Model Name Pixel 3
Orientation Rotate 90 CW
Software HDR+ 1.0.316937513zdr
Modify Date 2020:07:23 12:58:53
2 hours, 59 minutes, 16 seconds in the future
Y Cb Cr Positioning Centered
Exposure Time 1/4695
F Number 1.80
Exposure Program Program AE
ISO 67
Exif Version 0231
Date/Time Original 2020:07:23 12:58:53
2 hours, 59 minutes, 16 seconds in the future
Create Date 2020:07:23 12:58:53
2 hours, 59 minutes, 16 seconds in the future
Offset Time -04:00
Offset Time Original -04:00
Offset Time Digitized -04:00
Components Configuration Y, Cb, Cr, -
Shutter Speed Value 1/4705
Aperture Value 1.80
Brightness Value 9.47
Exposure Compensation 0
Max Aperture Value 1.8
Subject Distance 1.619 m
Metering Mode Center-weighted average
Flash On, Fired
Focal Length 4.4 mm
Maker Note Unknown (19,274 bytes binary data)
Sub Sec Time 322,464
Sub Sec Time Original 322,464
Sub Sec Time Digitized 322,464
Flashpix Version 0100
Color Space sRGB
Image Size 4,032 × 3,024
Interoperability Index R98 - DCF basic file (sRGB)
Interoperability Version 0100
Sensing Method One-chip color area
Scene Type Directly photographed
Custom Rendered Custom
Exposure Mode Auto
White Balance Auto
Digital Zoom Ratio 0
Focal Length In 35mm Format 27 mm
Scene Capture Type Standard
Contrast Normal
Resolution 72 pixels/inch
Saturation Normal
Sharpness Normal
Subject Distance Range Close

IMG_20200723_125852.jpg

Share this post


Link to post
Share on other sites
46 minutes ago, MichalD said:

The attached image was take with a Google Pixel 3 with EXIF orientation set and displays correctly on most modern image viewers. 

Your attached image appears sideways on Google Chrome browser, Windows 10.  (I'm not faking this!)

sideways.thumb.jpg.7c2b33fcd76cc8595d91294594998986.jpg

P.S.  This screen shot was accomplished in Win10 ;using Windows Key + PrtSc Key [Print Screen], then paste to GIMP.

Share this post


Link to post
Share on other sites

That's because the forums already fucked you and stripped the exif metadata without rotating the image data. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this