When I Upload a Picture It Is Rotated Wrong
Louis Skrabec wants the bending on photo orientation:
I downloaded photos from my camera to my Windows PC. I rotated photos taken in portrait orientation 90 degrees using the photo editing feature and saved the changes. And so created a new shared anthology in iCloud and uploaded the photos. All portrait photos that I rotated to proper positions are dorsum in mural orientation. What did I do wrong? How practise I set up them?
Rotation is a surprisingly complicated issue! What you lot're seeing is a common mismatch between editing and display software.
Modern digital cameras and smartphones runway the orientation of your device and rotate the preview y'all see to be the correct away upward, no matter what you practise. Some devices might just allow 90-caste clockwise and counter-clockwise rotation from what's considered upright, only any usable smartphone tin handle 180 degrees.
But an image sensor always captures the data without regard to orientation: it'southward simply grabbing photons and recording the measurements relative to the physical assortment in which it'southward located. Some cameras can shop this as a raw file, unique to each camera brand, that'south the by and large prefiltered data captured by a sensor. Others tin just output in JPEG or another format, or you can opt to get JPEG and raw or JPEG instead of raw. (Raw is frequently capitalized every bit RAW, simply information technology'due south not an initialism.)
If the camera were to produce with data stored in the same orientation equally you took the picture, except for the single orientation that matches how data comes out of the sensor array, it would need to create a second image file into which to map each pixel from ane orientation to the other, and then delete that original file.
Before cameras lacked the computational ability to handle this rotation, which was likewise RAM intensive: The paradigm would need to be rotated before the sensor data was converted to a file format that compressed image data, like JPEG. "Lossy" file formats similar JPEG apply approximations via mathematical formats to describe regions of an image; some camera makers' raw formats are lossy every bit well. ("Lossless" compression is less efficient, but past identifying redundant patterns in a hunk of data, it allows an exact reproduction of the original data from the compressed file.)
Information technology'southward possible to rotate JPEGs without calculation boosted image quality loss if the image resolution divides perfectly into the 8 by 8 or 16 by sixteen grids that a given JPEG algorithm used. Non all cameras had the perfect units years ago, and not all notwithstanding do.
Only if a camera (or other software) rotates a JPEG later it's been saved in that format, each decompression, rotation, and recompression progressively ruins the epitome.
The fob that photographic camera makers came up with was to avoid rotating pixels and, instead, set a flag in the EXIF metadata that's incorporated in any image their camera exports. The orientation flag has i of viii values, representing each rotation of 0 degrees, ninety degrees, 180 degrees, and 270 degrees, as well equally mirror flips (flipped tiptop to bottom and left to right, and clockwise rotated top to lesser and left to correct). (Rotations that aren't aren't at right angles ever involves modifying image information to guess the new angle.)
Any software that tin display an image should be able to read this orientation flag and brandish a photo in the correct orientation. Likewise, whatever image-editing software, on opening a file and decompressing it (if necessary) to make it editable should also orient it showtime.
All the same, image software in Windows prior to Windows 8 couldn't read the orientation flag, and many Mac OS 10 apps used to suffer from the same problem, including iPhoto iv and before versions.
I'm surprised whatever software Louis is using in 2016 would have this trouble, but it would seem to be a mismatch betwixt whatever information technology 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 once they're uploaded. In club to get the correct online rotation, you'll need to either employ an iOS device or an Os X devices with iCloud Photo Library synced to that drove, or utilise dissimilar software to handle the rotation and re-upload.
If you're handy with the command line, in OS 10 or Windows, y'all can also use the free ExifTool to modify embedded EXIF data in photographs.
Enquire Mac 911
We're ever looking for problems to solve! Email yours to mac911@macworld.com including screen captures as advisable. Mac 911 cannot reply to email with troubleshooting communication nor can we publish answers to every question.
Source: https://www.macworld.com/article/227941/how-to-solve-incorrect-photo-rotation-after-sync-or-upload.html