How to verify exact pixel width, height, and raw byte count on Windows, macOS, Android, and iPhone

Why default gallery and file manager previews hide the exact byte count and true MIME header that strict application portals check.

Almost every student and exam aspirant has stared at the same baffling error banner: the portal says "File size must be under 20 KB" or "Dimensions must be 200 × 230 pixels," yet your computer or phone gallery clearly says your image is 19.7 KB and looks like the right shape. You re-upload the file three times, clear your browser cache, and start wondering whether the portal server itself is broken. In almost every case, the server is simply reading a different number from the one your operating system chose to display on its summary screen.

Modern operating systems are designed for everyday convenience rather than strict forensic file validation. Windows File Explorer divides byte counts by 1,024 (binary kibibytes) while still printing the label "KB" next to the number. macOS Finder and iPhone Files divide by 1,000 (decimal kilobytes). Mobile gallery apps frequently hide pixel dimensions behind a swipe-up tray, or report the unrotated sensor dimensions while ignoring the EXIF orientation tag that tells a browser whether the photo is upright or sideways. Meanwhile, none of these default views warn you when a .jpg file downloaded from a messaging app is actually a WebP or PNG image under the hood.

Knowing how to inspect the exact raw byte count, true pixel geometry, and genuine file format on Windows, macOS, Android, and iOS—and how to run a unified four-gate audit in your browser—turns portal uploads from guesswork into a ten-second verification step. This guide walks through the native inspection method on every major platform and explains why discrepancies happen.

Quick answer & key takeaways

Default phone galleries and computer file views hide the exact numbers recruitment and university portals validate: raw decimal byte count, post-rotation pixel width and height, and binary format headers. Check "Size" (not "Size on disk") in Windows Properties or macOS Get Info, or load your file into the local Application File Checker to inspect true magic bytes, exact decimal KB, binary KiB, and pixel dimensions on any device.

  • Always read the raw byte count rather than the rounded KB summary, because 20 KB on a strict decimal portal means 20,000 bytes, whereas 20 KiB on Windows means 20,480 bytes.
  • Ignore "Size on disk" in Windows Properties and macOS Get Info; recruitment portals only ever receive the logical "Size" of the file stream itself.
  • Verify pixel width and height after any EXIF rotation has been flattened onto the image canvas so a vertical portrait is not read as a sideways landscape image by older portals.
  • Check the true binary format (magic bytes) rather than trusting the .jpg or .pdf filename extension, especially for files transferred via WhatsApp or iPhone AirDrop.
  • Use the browser-based Application File Checker on any phone or laptop to inspect format, exact bytes, KB/KiB values, pixel dimensions, and PDF page counts in one read-only screen.

Why your operating system and the exam portal disagree on file size

When a university admission portal or central recruitment engine validates your uploaded photograph or signature, its backend script inspects the raw length of the uploaded byte array. Many government and examination portals enforce decimal kilobytes, where 1 KB equals exactly 1,000 bytes. Under that rule, a 20 KB signature cap is coded as file.size <= 20000, and a 50 KB photo cap is coded as file.size <= 50000.

Windows, along with many Android file managers, calculates file size using binary powers of two, where 1 KiB equals 1,024 bytes—even though the user interface prints "KB". As a result, a signature file that contains 20,275 raw bytes is displayed in Windows File Explorer as 19.8 KB. To you, 19.8 KB is safely below 20 KB. To a decimal portal script checking for <= 20000 bytes, that file is 275 bytes over the limit and is rejected immediately.

How the exact same file is reported across platforms vs. strict decimal portal limits
Portal ruleRaw byte countWindows Explorer (KiB shown as KB)macOS Finder / iOS (Decimal KB)Strict decimal portal result
Max 20 KB signature19,850 bytes19.3 KB20 KB (19.9 KB)Accepted (<= 20,000 bytes)
Max 20 KB signature20,300 bytes19.8 KB20 KB (20.3 KB)Rejected (> 20,000 bytes)
Max 50 KB photo49,600 bytes48.4 KB50 KB (49.6 KB)Accepted (<= 50,000 bytes)
Max 50 KB photo50,900 bytes49.7 KB51 KB (50.9 KB)Rejected (> 50,000 bytes)
Max 300 KB PDF304,500 bytes297 KB305 KBRejected (> 300,000 bytes)

How to inspect exact bytes and pixel dimensions on Windows and macOS

On a Windows 10 or Windows 11 laptop, hovering your mouse over an image or looking at the Details pane gives only the rounded KiB figure. To see the true byte count and pixel geometry, right-click the file and select Properties (or press Alt + Enter while the file is highlighted).

  • Windows — Exact byte count: In the General tab of the Properties window, look at the Size line. Next to the rounded KB figure, Windows prints the exact byte count in parentheses—for example, 19.4 KB (19,892 bytes). That number inside the parentheses is the only number that matters.
  • Windows — Pixel width and height: Click the Details tab at the top of the same Properties window and scroll down to the Image section. You will see Dimensions (e.g., 276 x 354), Width (276 pixels), Height (354 pixels), and Horizontal/Vertical resolution (200 dpi).
  • macOS — Exact byte count: Highlight the file in Finder and press Command + I (or right-click and choose Get Info). Under the General section, look at Size: Finder displays something like 20 KB on disk (19,892 bytes). Again, verify the exact number inside the parentheses.
  • macOS — Pixel width and height: In the same Get Info panel, expand the More Info triangle. Look at the Dimensions field (formatted as Width × Height, such as 276 × 354). You can also open the image in macOS Preview and press Command + I to open the Inspector.

If either operating system leaves the Dimensions row blank even though the file has a .jpg or .png extension, take that as an immediate red flag. It frequently means the file is either corrupted or encoded in a newer container format (such as HEIC or WebP) that the standard JPEG metadata reader could not parse.

How to check pixel dimensions and byte size on Android and iPhone (iOS)

More than half of university and competitive exam applicants now prepare and upload their documents directly from a smartphone. Mobile galleries are convenient, but they often round file sizes aggressively or hide whether an image is stored as an Apple HEIC file.

Checking on Android (Files by Google and Gallery)

In Google Photos or your phone’s stock Gallery app, open the image and swipe up on the screen (or tap the three-dot menu in the top-right corner and select Details or Info). You will see the pixel resolution—usually written as megapixels alongside exact width and height, such as 0.1 MP • 276 × 354—and the file path. Because some Android gallery apps round file size to one decimal place in KiB, double-check the file inside the Files by Google app: tap the three dots next to the file, select File info, and check that the size is at least 1 KB safely below the portal ceiling.

Checking on iPhone and iPad (Photos and Files app)

In the Apple Photos app, open the image and swipe up (or tap the circular i icon at the bottom). An metadata card appears showing the camera badge, file format badge (JPEG, PNG, or HEIF), pixel dimensions (e.g., 276 × 354), and file size (19 KB). If the badge says HEIF or HEIC, recruitment portals will reject it—even if the iOS browser tries to convert it during upload. For files stored in the iOS Files app, long-press the document and tap Get Info to read the exact byte count in parentheses alongside dimensions.

Quick shortcut reference for inspecting file specs on every operating system
PlatformWhere to open fileShortcut / actionWhat to verify
Windows 10 / 11File ExplorerRight-click → Properties (Alt + Enter) → General & Details tabsExact bytes in parentheses under "Size"; Width × Height in Details
macOSFinderSelect file → Get Info (Cmd + I) → General & More InfoExact bytes in parentheses; Dimensions row (W × H)
AndroidGallery / Files by GoogleSwipe up on photo or tap ⋮ → Details / File infoPixel resolution (W × H), .jpg/.pdf extension, and KB size
iPhone / iPadPhotos app / Files appSwipe up (i icon) in Photos, or Long-press → Get Info in FilesFormat badge must say JPEG (not HEIF); exact bytes in Get Info
Any browser (All OS)Application File CheckerDrop file into /apply/file-checkerTrue magic bytes, exact bytes, KB + KiB, pixel W × H, PDF pages

Two hidden properties OS dialogs miss: EXIF rotation and magic bytes

Even when your computer’s Properties window shows the right byte count and dimensions, two invisible technical traps can still trigger an instant rejection on an application portal: unflattened EXIF orientation tags and mismatched binary magic bytes.

When you shoot a vertical portrait on a smartphone, the camera sensor often records the raw pixels horizontally (for example, 354 × 276 wide) and writes a tiny metadata instruction called an EXIF Orientation tag (Orientation = 6, Rotate 90 CW). Your phone gallery and computer viewer obey that tag and show you an upright portrait (276 × 354). However, many older exam portal validators strip EXIF metadata and read the raw unrotated pixel grid—rejecting your vertical portrait because the server sees width as 354 and height as 276, or printing your face sideways on the admit card.

The second trap is the renamed file extension. If a friend sends your scanned signature over WhatsApp, or if a cyber-cafe operator downloads an image from a web tool and renames signature.webp or signature.png to signature.jpg, Windows and Android will dutifully show a JPEG icon. Yet the first four bytes inside the file (its magic bytes) still read 89 50 4E 47 (PNG) or 52 49 46 46 (WebP) instead of FF D8 FF (JPEG). Strict portal security filters inspect those magic bytes and block the upload with an "Invalid file format" error.

Running a unified 4-gate verification in your browser on any device

Instead of hunting through different property menus on Windows, Mac, Android, and iPhone—and manually calculating whether 19.8 KiB is under 20,000 decimal bytes—you can inspect up to 8 files at once in the Application file checker. Because the tool runs locally in your browser memory, it works identically on an Android phone, an iPad, a Windows desktop, or a MacBook without uploading your documents anywhere.

  1. Gate 1 — True format header (Magic bytes): Reads the raw binary header of your file (FF D8 FF for JPEG, 89 50 4E 47 for PNG, %PDF- for PDF) and alerts you immediately if a file’s extension does not match its real encoding.
  2. Gate 2 — Dual byte measurement: Displays the exact raw byte count (e.g., 19,420 bytes) alongside both decimal KB (19.42 KB) and binary KiB (18.96 KiB), and evaluates it against the minimum and maximum size limits you enter.
  3. Gate 3 — Rendered pixel dimensions: Decodes the image to report exact width and height in pixels (276 × 354 px) and aspect ratio, catching swapped width/height values before you upload.
  4. Gate 4 — PDF page count and geometry: For certificate PDFs, counts the exact number of pages, verifies that the PDF is not password-locked, and checks page dimensions.

If any file fails a gate, the checker points you straight to the exact local tool that fixes it: Photo and signature for pixel and cm cropping, Exact image compressor for hitting a strict byte ceiling, or PDF compressor for shrinking multi-page certificates.

How to verify your application files across any device before uploading

  1. Read the exact numbers in the official notification

    Open the current exam or university notification PDF and write down the required format (JPG or PDF), minimum and maximum file size in KB, and required pixel width × height (or cm dimensions and DPI) for each upload slot.

  2. Check raw byte size in your OS properties dialog

    On Windows (Alt + Enter) or macOS (Cmd + I), look at the "Size" line—never "Size on disk"—and read the exact byte count in parentheses. Ensure a 20 KB file is under 20,000 bytes and a 50 KB file is under 50,000 bytes.

  3. Confirm upright pixel width and height

    Check the Dimensions line in Windows Details, macOS More Info, or your mobile gallery’s swipe-up info panel. Make sure width is listed first and height second (for example, 200 × 230 px or 276 × 354 px for a vertical portrait).

  4. Audit all files together in the Application File Checker

    Open the Application File Checker in your browser, enter the notification’s format, KB range, and pixel rules, and drop in your prepared photo, signature, and PDFs to verify true magic bytes and exact dimensions in one pass.

  5. Re-encode any file that fails a gate

    If a file is a few hundred bytes over the decimal limit, has swapped dimensions, or is a renamed PNG/HEIC, re-export it cleanly using the Photo & Signature tool or Exact Image Compressor and re-verify the downloaded output.

Common mistakes to avoid

What goes wrong: Looking at "Size on disk" instead of "Size" in Windows Properties and panicking when a 14 KB signature says 16.0 KB or 20.0 KB on disk.

Better approach: Always read the first "Size" row and the exact byte figure in parentheses; hard-drive cluster allocation ("Size on disk") is never sent to the web portal.

What goes wrong: Assuming a file Windows labels as "19.9 KB" will pass a strict 20 KB recruitment portal validator.

Better approach: Remember that 19.9 KiB on Windows is roughly 20,377 bytes, which exceeds a 20,000-byte decimal limit. Keep files under the decimal byte ceiling (under 19,500 bytes is a safe target).

What goes wrong: Entering height into the width box (for example, cropping a portrait to 354 × 276 px instead of 276 × 354 px).

Better approach: Standard image dimensions are always written Width × Height. A passport photograph is taller than it is wide (276 px wide by 354 px tall), whereas a signature is wider than it is tall (140 px wide by 60 px tall).

What goes wrong: Uploading an iPhone photo straight from the camera roll when the badge in the Photos app still says HEIF.

Better approach: Convert the portrait to a true RGB JPEG with verified pixel dimensions and byte limits in the local Photo & Signature tool before uploading.

Frequently asked questions

Why does Windows show two different byte sizes ("Size" and "Size on disk") in Properties?

"Size" is the actual number of bytes inside your image or PDF file, and that is the exact stream your browser uploads to an application portal. "Size on disk" shows how much space the file occupies on your storage drive, which allocates space in fixed blocks (typically 4,096 bytes each). Always evaluate "Size" when checking portal rules.

My Android gallery says my photo is 49 KB, so why did the exam portal reject it as over 50 KB?

Wait or transfer apps rarely change the file, but some gallery views truncate decimals or mix binary KiB with decimal KB. More commonly, if you selected the image through an inline mobile cropper or image picker provided by the browser, the browser may have re-encoded the canvas into a larger file on the fly. Always select the pre-sized file directly from your Files manager.

How can I tell if a .jpg file is actually a PNG or WebP image without installing technical software?

Drop the file into the browser-based Application File Checker (Application file checker). Instead of reading the filename, it inspects the binary header bytes (magic bytes) inside the file and immediately reports whether the true format is JPEG, PNG, WebP, GIF, HEIC, or PDF.

Does checking my Aadhaar PDF, marksheet, or photograph in the Application File Checker modify or upload the file?

No. The Application File Checker performs a strictly read-only inspection inside your local browser tab. It never alters a single byte of your file, never re-saves it, and never transmits any data over the network.

Why do my pixel dimensions look swapped (354 × 276 instead of 276 × 354) when I upload to an older portal?

Your phone saved the image sideways on the sensor and added an EXIF orientation tag telling modern viewers to rotate it 90 degrees on screen. Older portal scripts ignore EXIF tags and read the raw sideways grid. Running the image through the Photo & Signature tool flattens the rotation into actual upright pixels.

Summary

File upload errors stop being mysterious once you know where your operating system hides the raw numbers. Whether you are working on Windows, macOS, Android, or iPhone, always verify the exact decimal byte count, upright pixel width and height, and genuine file format before opening the application portal. A ten-second check in the Application File Checker ensures every file passes on the very first click.

Related guides

Browse all guides →