Skavio File Toolbox: Resolve misleading image orientation before converting
Skavio File Toolbox converts supported images to JPG, PNG, WebP or PDF. Before changing formats, however, resolve any disagreement between the image’s stored pixels and its orientation metadata. Automatically following that metadata can help when it is correct—and make matters worse when it is stale. Use a review-first workflow: inspect the source, repair the actual mismatch, then convert and check the downloaded result.
1. Separate the pixels from the display instruction
An image can contain both stored pixel data and an EXIF Orientation instruction telling software how to display it. That instruction can specify rotation or mirroring. Sideways pixels with a correct rotation instruction are therefore a different problem from upright pixels carrying an outdated instruction to rotate again. An upright preview does not prove that the stored pixels are upright: the viewer may already be applying the instruction. Equally, a sideways preview does not establish that the tag is wrong. First determine which part of the file needs correction.
2. Preserve the original and inspect a working copy
Keep the source unchanged and work on a copy. If you have ExifTool installed locally, this read-only command reports numeric Orientation values: `exiftool -a -G1 -s -n -Orientation "input.jpg"` The options include duplicate tags, identify their metadata groups and report numeric values. The command does not assign or delete metadata. Treat its output as evidence of the file’s instructions, not proof of the intended reading direction. To distinguish the pixels from their instructions, compare an orientation-aware rendering with a view explicitly configured to ignore orientation metadata. Two ordinary previews are not enough unless you know how each handles the tag.
- Orientation 1 means normal orientation.
- Orientation 3 specifies a 180-degree rotation.
- Orientation 6 specifies a 90-degree clockwise rotation; 8 specifies 270 degrees clockwise.
- Other defined values include mirroring, so check text and asymmetric details—not just whether the image is portrait or landscape.
3. Correct the mismatch, not whatever the tag suggests
Choose the repair only after establishing how the content should read. ImageMagick documents that its `-auto-orient` operation follows the EXIF orientation and resets the setting afterward. It also warns that already-corrected pixels with an unchanged tag can be transformed incorrectly a second time. Do not strip metadata as a first repair. Removing the orientation instruction before applying a necessary transformation can leave sideways pixels unresolved. ImageMagick’s general `-strip` operation also removes profiles and comments beyond orientation.
- If the tag correctly describes the transformation needed: apply it once, then normalize the orientation setting so the same transformation is not applied again.
- If the pixels are already upright but the tag is wrong: correct or reset the orientation metadata rather than rotating the pixels again.
- If both the pixels and the tag are wrong: establish the required rotation or reflection manually in an image editor, apply it, then normalize the orientation setting.
- If orientation metadata is missing: inspect the content directly; a missing tag does not establish the intended direction.
4. Use File Toolbox for the delivery format
Once you have corrected and checked the working copy, use Skavio File Toolbox if the recipient needs another format. Supported image inputs include JPG/JPEG, PNG, WebP, BMP, TIF/TIFF, GIF, HEIC/HEIF and AVIF; supported outputs are JPG, PNG, WebP and PDF. Use a separate image tool for the orientation diagnosis and repair described above. File Toolbox’s verified capabilities establish image conversion, not EXIF inspection, metadata editing, automatic orientation correction or manual rotation controls. A change of format is not proof that orientation metadata has been removed or repaired. Avoid repeated JPEG editing and saving while troubleshooting. ImageMagick’s JPEG processing decodes and re-encodes the image, which can introduce additional loss. Keep the original and minimize intermediate JPEG exports.
5. Check the downloaded file in the receiving application
Review the actual downloaded output, not only an earlier preview. Open it in the application the recipient will use. These are recommended checks, not a claim that these orientation cases have been tested in File Toolbox.
- Confirm that text reads in the intended direction and is not mirrored.
- Check dimensions and whether portrait or landscape presentation is appropriate.
- Inspect every edge for missing content and check small text for legibility.
- If the result is wrong, return to the preserved source and reassess the mismatch rather than repeatedly rotating and converting the latest export.