How to Check Image Dimensions and Aspect Ratio in the Browser
Pick a file and this tool instantly shows how many pixels wide and tall it is and what its aspect ratio works out to. That is also the right first step before building image uploads or thumbnail caches. The SameOS Tools image analyzer reads everything inside the browser without sending files to the server.
Why inspect image information first
Modern phone photos are often over 4000 pixels wide; showing such originals directly in a list slows the page and inflates traffic. Making thumbnails too small instead leaves them blurry on larger screens. Original dimensions, aspect ratio, and average file size help define a stable storage policy.
Values to check
- Width and height in pixels: the actual image size, used to choose thumbnail specs and layout ratios.
- Aspect ratio: how width relates to height — it predicts what gets cropped in 1:1, 4:3, or 16:9 slots.
- Megapixels (total pixel count): decide whether a large image needs resizing.
- File size: estimate storage and monthly traffic.
Check it on the home tool
Choose files in the image analyzer on the image tools page to see dimensions and thumbnail estimates. Files are not uploaded.
Are image files uploaded to the server?
No. SameOS Tools analyzes images with browser APIs and does not send selected files to the server.
Is the thumbnail size estimate exact?
No. It is a planning estimate based on original file size, pixel ratio, and quality value, not an exact encoded output.
Does the tool read EXIF camera metadata?
The current tool shows only basic information such as width, height, ratio, and file size to reduce privacy exposure.
Checking Dimensions From the Command Line
ImageMagick's identify pulls dimensions and ratios for many files at once.
# 0) install ImageMagick (it provides the identify command)
sudo apt install -y imagemagick
# on macOS: brew install imagemagick
# verify: identify -version
# 1) width x height of one photo
identify -format "%wx%h\\n" photo.jpg
# → 1920x1080
# 2) list images in a folder with names and sizes
identify -format "%f %wx%h\\n" *.jpg
# → photo1.jpg 1920x1080
# photo2.jpg 800x600
# 3) note — recommended OG (social preview) image is 1200x630 (~1.91:1)
# that ratio survives Facebook/social preview crops