Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7531141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:05:58+00:00 2026-05-30T05:05:58+00:00

What ImageMagick command will display the orientation of a JPG file?

  • 0

What ImageMagick command will display the orientation of a JPG file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:05:59+00:00Added an answer on May 30, 2026 at 5:05 am

    You can use

    identify -format '%[EXIF:Orientation]' <image.jpg>
    

    as per identify -format docs (It’s the bit further down about exif metadata).

    Try

    identify -verbose <image.jpg>
    

    To see what metadata is in the image (for example if the image was not taken with a camera, the orientation tag will not be set).

    Alternatively you could do something like

    identify -format '%wx%h' <image.jpg>
    

    which gives you the width by height (e.g. ‘800×598’, ‘1936×2592’) and use these to determine whether the image is upright or not (not sure how reliable this is though – sometimes you take a portrait image with a camera and the EXIF data will correctly record the orientation, but the image may still appear landscape).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ImageMagick from the command line to resize images: convert -size 320x240 image.jpg
The following imageMagick command will crop a sprite image into several images divided equally:
I need to create a layered PSD file with ImageMagick or any other command-line
i want to learn how many pages will be converted with ImageMagick command. convert
I'm trying to call an ImageMagick command from Python 2.7 using subprocess.call. My problem
I am using ImageMagick convert command for making thumbnails & save the converted images
When I open a command window in windows and use the imagemagick convert command:
I have to use imagemagick convert command from php. So I'm using shell_exec but
i am using Imagemagick for converting my .pdf file to .png images but when
I'm currently using ImageMagick's convert command to create text preview (.png) from .ttf font

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.