Skip to content Skip to sidebar Skip to footer

How to Rotate an Uploaded Profile Photo

Always wonder why some photos look correct in some programs, merely announced sideways or upside down in others? That'southward because there are 2 different ways a photo can be rotated, and not every plan is on the same page.

The 2 Means an Epitome Can Be Rotated

Traditionally, computers have always rotated images past moving the actual pixels in the epitome. Digital cameras didn't bother rotating images automatically. So, even if y'all used a camera and held it vertically to take a photograph in portrait mode, that photo would be saved sideways, in landscape style. Y'all could then employ an image editor plan to rotate the image to appear in its correct portrait orientation. The image editor would move the pixels to rotate the paradigm, modifying the actual paradigm information.

This just worked, everywhere. The rotated image would announced the same in every program…as long as y'all took the fourth dimension to manually rotate them all.

Manufacturers wanted to solve this annoyance, so they added rotation sensors to modern digital cameras and smartphones. The sensor detects which way you're holding the camera, in an effort to rotate the photos properly. If y'all accept an image in portrait mode, the camera knows and can deed accordingly so you don't have to rotate information technology yourself.

RELATED: What Is EXIF Data, and How Can I Remove It From My Photos?

Unfortunately, in that location's a small-scale caveat. Digital camera hardware simply couldn't handle saving the image directly in rotated form. So rather than performing the computationally intensive job of rotating the entire image, the camera would add together a small piece of information to the file, noting which orientation the image should be in. Information technology adds this information to the Exif data that all photos have (which includes the model of camera y'all took it with, the orientation, and possibly even the GPS location where the photo was taken).

In theory, then, you could open that photo with an application, it would look at the Exif tags, and then present the photo in the correct rotation to you. The image data is saved in its original, unrotated form, but the Exif tag allows applications to correct it.

Not Every Program Is On the Aforementioned Page

Unfortunately, not every slice of software obeys this Exif tag. Some programs–particularly older image programs–will merely load the image and ignore the Exif Orientation tag, displaying the image in its original, unrotated land. Newer programs that obey Exif tags will show the paradigm with its correct rotation, so an prototype may announced to have unlike rotations in different applications.

Rotating the image doesn't exactly help, either. Alter information technology in an old application that doesn't understand the Orientation tag and the application will movement the actual pixels around in the epitome, giving it a new rotation. It'll look right in older applications. Open that image in a new awarding that obeys the Orientation tag and the awarding will obey the Orientation tag and flip the already rotated image around, then it'll expect wrong in those new applications.

Fifty-fifty in a new application that understands the Orientation tags, it's often not quite articulate whether rotating an prototype volition motility the actual pixels in the image or only change the Exif tags. Some applications offer an pick that will ignore the Exif Orientation tag, assuasive yous to rotate them without the tags getting in the way.

This trouble can occur in practically whatever software, from a plan on your PC to a website or a mobile app. Photos may appear correctly on your computer but announced in the wrong rotation when y'all upload them to a website. Photos may appear correctly on your phone only incorrectly when you transfer them to your PC.

For example, on Windows seven, Windows Photo Viewer and Windows Explorer ignore the Exif Orientation tag. Windows eight added support for the Exif Orientation tag, which connected into Windows x. Images may appear correct on a Windows 10 or eight PC, but rotated differently on a Windows 7 PC.

New Software Almost Ever Obeys Exif Orientation Tags

Thankfully, well-nigh applications now practise obey the Exif Orientation tag. If you're using Windows 10, File Explorer and the default image viewer will properly obey the Exif Orientation tag, so photos that come up from your smartphone or digital camera volition be brandish properly. Google's Android and Apple's iOS both natively create photos with the Exif Orientation tag and back up it.

If you're using Windows 7, y'all tin can make this problem go away by upgrading to Windows 10. If y'all'd like to keep using Windows seven, you may desire to use another image viewer that obeys the Exif tags instead of the default image viewer.

The average website or desktop application should as well obey Exif Orientation, although not all of them do. If a photo appears sideways when uploaded to a website, that website needs to exist fixed–but you tin probably rotate that image on that website anyway. Desktop tools for working with photos should likewise back up Exif Orientation tags. If an application you lot utilise doesn't, you may want to find a more modern application.

How to Fix Image Rotation for Older Programs

If this is a trouble for you–specially on Windows vii–you can also use JPEG Autorotate, which uses the jhead control in the background. This tool adds a quick right-click "Autorotate all JPEGs in binder" option to Windows Explorer. Select it and the tool volition examine all photos in a folder, automatically rotating them according to their Exif Orientation tags then removing those tags. Use this tool when you import images and Windows 7 and other applications won't have a trouble with them.


Modern smartphones and digital cameras take faster hardware, and then it should be possible for them to save photos in an already-rotated state instead of only applying the Exif Orientation tag. Unfortunately, the industry seems to have settled in Exif Orientation tags as the standard solution, even if they aren't ideal.

Thanks to Tom Moriarty for contacting us and giving us the idea for this commodity.

berryencted.blogspot.com

Source: https://www.howtogeek.com/254830/why-your-photos-dont-always-appear-correctly-rotated/

Post a Comment for "How to Rotate an Uploaded Profile Photo"