How to rotate, flip and straighten an X-ray image
Images do not always arrive the right way up. The cassette was turned, the patient lay the other way, or the scan is slightly tilted. Fixing the orientation takes a few clicks.
Quarter turns
⟳ Rotate 90° turns the image by 90° clockwise. Click twice for an upside-down image, three times for 270°. The button next to it turns the other way. On the keyboard: R and Shift+R.
Mirroring
- ↔ Mirror (H) swaps left and right.
- ↕ Flip (V) swaps top and bottom.
Be careful with mirroring: it changes which side of the body appears on which side of the image. If the image contains a side marker (L or R), check that it still reads correctly – a mirrored letter is the sign of a mirrored image.
Rotation by an exact angle
For a tilted image, click the button showing the angle (∡). A panel opens where you set the rotation in degrees with a slider or by typing a number. Reset to 0° returns to zero.
Straighten by two points
The quickest way to level an image is to show the viewer a line that should be horizontal:
- Click Straighten by two points.
- Click one end of the line – for example one side of the pelvis.
- Click the other end.
The viewer calculates the angle and rotates the image so that the two points are level.
Do it before measuring
Changing the orientation removes measurements, notes and the crop on that image, because their positions would no longer fit. The viewer warns you in the status bar. So: orientation first, then measuring and notes.
Each file keeps its own orientation
When several files are open, the rotation and mirroring are remembered separately for each. You can switch between images without setting them again.
The original is not changed
Rotating affects only the display. The DICOM file on your disc stays as it was. To keep the corrected version, export it with ⬇ Export image or print it – the output is saved as you see it. Try it in the viewer.
More articles
- How to open a DICOM (.dcm) file onlineGot an X-ray or CT scan as a .dcm file? Open it in your web browser in a few seconds, without installing software and without uploading it anywhere.
- What is a DICOM file?DICOM in plain words: what the format contains, why hospitals and vets use it, what .dcm files and tags are, and how to look inside one.
- How to convert DICOM to JPG, PNG or TIFFHow to turn a DICOM X-ray into a JPG, PNG, WebP or TIFF picture that anyone can open – in your browser, free and without uploading the file.
- How to measure the Norberg angle on a hip X-rayWhat the Norberg angle is, how it is measured on a hip radiograph and how to do it online in six clicks with View DICOM.
- Guided X-ray measurements in one panelThe Assessment panel of View DICOM: guided measurements for hips, elbows and knees, heart and thorax, spine and hooves, with forms, protocols and report templates.
- Hip assessment on an X-rayHow to measure the distraction index, femoral head coverage, CE angle, acetabular index and neck-shaft angle on a hip X-ray in the browser.
- Vertebral heart score and other thorax measurementsHow to measure the vertebral heart score, left atrial size, tracheal ratio and cardiothoracic ratio on a chest X-ray in the browser.
- TPA, patellar position and limb axesHow to measure the tibial plateau angle for TPLO planning, the Insall-Salvati ratio and the aLDFA and mMPTA limb angles on an X-ray in the browser.
- Measuring distances, angles and areas on X-ray imagesHow to measure length, angle, circle and ellipse on a DICOM X-ray online, when the result is in millimetres and what limits the accuracy.
- Window and level: brightness and contrast of X-ray imagesWhy an X-ray looks too dark or flat, what window centre and window width mean and how to set brightness and contrast to see bone or soft tissue.
- How to view X-rays from a CD or DVDThe disc from your clinic will not play? How to find the DICOM files on a CD or USB stick and open them in your browser, on Windows and Mac.
- Is it safe to open medical images online?What personal data a DICOM file contains, what happens to it in an online viewer and how to share an X-ray without revealing the patient's identity.
- Open NIfTI, TIFF and other medical images in the browserNot every medical image is DICOM. How to view NIfTI (.nii, .nii.gz), 16-bit TIFF, PGM and ordinary JPG or PNG scans online, with contrast and measuring tools.
- A DICOM viewer for tablet and phone – also offlineHow to view X-rays and DICOM files on an iPad, Android tablet or phone, install View DICOM as an app and use it without an internet connection.
- How to open DICOM files on a MacPreview and Photos cannot open .dcm files, and the viewer on the clinic's disc is for Windows. How to view DICOM X-rays on macOS in Safari or Chrome.
- How to open DICOM files on Windows 10 and 11Windows Photos cannot open .dcm files. How to view DICOM X-ray, CT and MRI images on a Windows PC in your browser, without admin rights or installation.
- Free DICOM viewer: what to look forDesktop program, online upload service or a viewer that runs in the browser? A plain comparison of free DICOM viewers and what each is good for.
- DICOM vs JPG: what is the difference?Why clinics use DICOM instead of JPG, what you lose when an X-ray is saved as a picture, and when a JPG or PNG is the better choice.
- DICOM tags: how to read the metadata in a DICOM fileWhat DICOM tags are, how to display them online and what the most useful ones mean: patient, study, modality, pixel spacing, window and more.
- DICOM file will not open? Transfer syntax and compression explainedWhy one viewer opens a DICOM file and another does not: transfer syntaxes, JPEG, JPEG 2000 and RLE compression, and what to do with an unsupported file.
- Pixel spacing: why measurements are in millimetres or in pixelsHow a viewer knows the real size of things on an X-ray, what the DICOM Pixel Spacing tag means, and why pictures such as JPG can only be measured in pixels.
- How to browse CT and MRI series and multi-frame filesA CT or MRI study is hundreds of files. How to open a whole series in the browser, scroll through slices and find your way around studies and frames.
- How to crop an X-ray and export just the detailShow only the joint, the tooth or the finding: how to crop a DICOM X-ray online, zoom in on the detail, and save or print the cropped picture.
- False colours on X-ray imagesWhy greyscale X-rays are sometimes shown in colour, what the hot metal, rainbow and bone colour maps do, and how to try them online.
- How to add notes and labels to an X-ray imageMark a finding, write the patient's name or add a comment directly on a DICOM X-ray: text notes, numbered points and labels, online and free.
- How to print an X-ray image or save it as a PDFPrint a DICOM X-ray on paper with your measurements and notes, or save it as a PDF – directly from the browser. Tips for a readable printout.
- PDF report of X-ray measurementsHow to create a PDF report with the patient details, Norberg angles and other measured values from an X-ray, directly in the browser.
- A free DICOM viewer for studentsHow veterinary, medical and radiography students can practise with real DICOM images on any laptop or tablet: windowing, measuring, annotating, no installation.
- Customise the viewer: appearance, text size, icons and languageSet up View DICOM to suit you: light or dark appearance, larger text and icons, a compact toolbar with icons only, hidden labels and 17 languages.