Skip to content Skip to sidebar Skip to footer

Image Flips 90 Degrees When Upload Fix

Louis Skrabec wants the angle on photo orientation:

I downloaded photos from my camera to my Windows PC. I rotated photos taken in portrait orientation 90 degrees using the photograph editing feature and saved the changes. Then created a new shared album in iCloud and uploaded the photos. All portrait photos that I rotated to proper positions are back in landscape orientation. What did I do incorrect? How practise I set up them?

Rotation is a surprisingly complicated issue! What you're seeing is a common mismatch betwixt editing and display software.

Modern digital cameras and smartphones track the orientation of your device and rotate the preview you meet to be the right away upwards, no thing what you practise. Some devices might only allow 90-degree clockwise and counter-clockwise rotation from what'due south considered upright, only any usable smartphone can handle 180 degrees.

Merely an image sensor always captures the data without regard to orientation: it's only grabbing photons and recording the measurements relative to the physical array in which information technology's located. Some cameras can store this as a raw file, unique to each camera brand, that's the mostly prefiltered information captured by a sensor. Others tin can but output in JPEG or some other format, or you tin can opt to go JPEG and raw or JPEG instead of raw. (Raw is often capitalized as RAW, only information technology'southward not an initialism.)

If the photographic camera were to produce with data stored in the same orientation every bit you took the film, except for the single orientation that matches how data comes out of the sensor array, information technology would demand to create a second image file into which to map each pixel from one orientation to the other, and then delete that original file.

Before cameras lacked the computational power to handle this rotation, which was also RAM intensive: The paradigm would need to be rotated before the sensor data was converted to a file format that compressed prototype information, similar JPEG. "Lossy" file formats similar JPEG apply approximations via mathematical formats to describe regions of an image; some camera makers' raw formats are lossy also. ("Lossless" compression is less efficient, but by identifying redundant patterns in a hunk of data, it allows an verbal reproduction of the original information from the compressed file.)

It's possible to rotate JPEGs without adding boosted image quality loss if the image resolution divides perfectly into the 8 by 8 or 16 past 16 grids that a given JPEG algorithm used. Not all cameras had the perfect units years ago, and not all still do.

Only if a camera (or other software) rotates a JPEG subsequently it's been saved in that format, each decompression, rotation, and recompression progressively ruins the image.

The trick that camera makers came up with was to avoid rotating pixels and, instead, prepare a flag in the EXIF metadata that'southward incorporated in whatever epitome their camera exports. The orientation flag has 1 of 8 values, representing each rotation of 0 degrees, 90 degrees, 180 degrees, and 270 degrees, likewise as mirror flips (flipped top to lesser and left to right, and clockwise rotated meridian to bottom and left to right). (Rotations that aren't aren't at right angles always involves modifying epitome information to approximate the new angle.)

Eight different orientations can be represented with a value for the EXIF Orientation tag.
Two images, one in the same rotation as the prototype-sensor array in the iPhone and the other rotated, have their Orientation value tagged in EXIF data.

Any software that can display an image should exist able to read this orientation flag and display a photo in the correct orientation. Likewise, whatever image-editing software, on opening a file and decompressing information technology (if necessary) to brand information technology editable should also orient information technology first.

Still, prototype software in Windows prior to Windows 8 couldn't read the orientation flag, and many Mac Os X apps used to endure from the same problem, including iPhoto 4 and earlier versions.

As one example, GraphicConverter for OS X has a lot of EXIF rotation options to help with import and editing.

I'yard surprised whatever software Louis is using in 2022 would have this problem, but it would seem to be a mismatch betwixt whatsoever it encoded in EXIF and what iCloud read from the upload—iCloud doesn't strip EXIF data.

Unfortunately, iCloud.com doesn't let you edit photos one time they're uploaded. In lodge to get the correct online rotation, yous'll demand to either use an iOS device or an Bone X devices with iCloud Photo Library synced to that collection, or use different software to handle the rotation and re-upload.

If yous're handy with the command line, in Os X or Windows, you can too use the free ExifTool to alter embedded EXIF data in photographs.

Ask Mac 911

We're ever looking for problems to solve! Email yours to mac911@macworld.com including screen captures every bit appropriate. Mac 911 cannot reply to e-mail with troubleshooting communication nor tin can we publish answers to every question.

mcdowellyoursurs.blogspot.com

Source: https://www.macworld.com/article/227941/how-to-solve-incorrect-photo-rotation-after-sync-or-upload.html

Post a Comment for "Image Flips 90 Degrees When Upload Fix"