Free shipping on prints. 15 royal portrait styles.

PURREALISM

Photo file size and format: the 5 MB upload limit

What decides a photo's file size, HEIC and JPEG compared, and how to bring a pet photo under the 5 MB upload limit while keeping enough pixels to print.

By Purrealism. Part of Pet photo guide: taking and choosing the photo for a portrait.

This page explains the numbers behind a photo file: what makes one photo file larger than another, how the iPhone's HEIC format compares with JPEG, and how to bring a pet photo under the 5 MB upload limit while keeping enough pixels for a print. The portrait studio takes one image file of up to 5 MB for each portrait, and a larger file gets the message "Please choose a photo under 5 MB." The main pet photo guide covers taking the photo itself.

Two sizes: megabytes and pixels

A photo has two sizes, and they are easy to mix up.

  • Pixel size is how many tiny squares of colour make up the picture, counted across and down, for example 4,000 by 3,000 pixels. This decides how much detail the photo holds and how large it can be printed.
  • File size is how much storage the photo takes, measured in megabytes (MB). The 5 MB upload limit is about this number.

The two are linked, but loosely. A photo with more pixels usually makes a larger file. The format and the amount of compression, the way the file packs the pixels into fewer bytes, change the file size too. Two photos with exactly the same pixel size can differ in megabytes by a large amount.

For a portrait, the pixels are what matter. The goal is a file under 5 MB that keeps as many pixels as it can, especially around your pet's face.

Why some photos are so large

Resolution settings

Newer phones can take photos with many millions of pixels. Apple says supported iPhones can switch the main camera's default resolution between 24 MP and 12 MP, where MP means megapixels, or millions of pixels, and can take 48 MP photos with Resolution Control turned on. More pixels make a larger file. Google says Pixel phones have a Full HD setting that lowers the resolution to save storage; the page on phone camera settings explains why to keep the higher setting for a pet photo and deal with the file size afterwards.

Format and compression

Encyclopaedia Britannica explains that the JPEG standard keeps files small by averaging colour variation and discarding what the human eye cannot see, a process called lossy compression. Britannica says an image can be compressed by a factor of 100 to 1, with some loss of quality at those limits, and that factors of 20 to 1 are easily done with a loss of quality that is practically invisible to the eye. It also says many digital cameras store images as JPEGs so more pictures fit on a memory card.

Apple says the iPhone 7 and later models, on iOS 11 or later, can capture photos in HEIF, the High Efficiency Image File Format. Apple calls the format HEIF; many apps, and the photo checker on this page, call these photos HEIC. Apple says HEIF offers better compression than JPEG, so photos use less storage on the device and in iCloud Photos while keeping the same visual quality.

Live Photos

Apple says a Live Photo records what happens 1.5 seconds before and after you take the picture. When you share, Apple says you can tap LIVE in the corner of the photo to send only the still image, and that a Live Photo sent by Mail arrives as a still. For an upload, the still photo is what you need.

HEIC and JPEG compared

HEIC (High Efficiency)JPEG (Most Compatible)
File size for the same photoSmaller, according to AppleLarger
Visual qualityThe same, according to AppleThe same, according to Apple
Opens onApple devices from iOS 11 and macOS High Sierra, and apps that support itMore devices and operating systems, according to Apple
iPhone settingSettings, Camera, Formats, High EfficiencySettings, Camera, Formats, Most Compatible

Apple says that capturing in HEIF is recommended, and that the older formats are more broadly compatible with other devices and operating systems. It also says that when you share HEIF media by AirDrop, Messages or email to a device that does not support the format, the photo might be sent automatically in a more compatible format such as JPEG.

The photo checker on this page reads your photo in your browser. If your browser cannot open a HEIC file, the checker asks for an image such as a JPG, and exporting the photo as a JPEG solves it.

Converting HEIC to JPEG

Apple gives the steps for a Mac: open the HEIF image in Photos or Preview, choose File, then Export, then choose a format such as JPEG before saving. To make all new iPhone photos JPEGs, Apple says to open Settings, tap Camera, tap Formats, then tap Most Compatible.

Apple adds one more detail. When you import photos from an iPhone into Photos, Image Capture or a PC over a USB cable, they might be converted to JPEG. To stop that, Apple says to open Settings, tap Apps, tap Photos, and choose Keep Originals.

Bringing a photo under 5 MB

Try these in order. Each step keeps more of your pet's face than the next.

1. Crop away empty space

A photo of a pet on a large sofa has a lot of sofa in it. Cropping removes the parts you do not need and keeps every pixel of the face. Apple's guide to Preview on a Mac says you select the area you want to keep and discard the rest. Leave a margin around the ears and chin, as the page on camera height and angle explains, because a print may trim the edges.

2. Save as JPEG

If the photo is a large HEIC or PNG file, export it as a JPEG. Britannica's figure of 20 to 1 compression with practically invisible loss shows how much space JPEG can save.

3. Reduce the pixel size in small steps

If the file is still over 5 MB, reduce the pixel size. On a Mac, Apple says to open the image in Preview, choose Tools, then Adjust Size, select Resample image, and enter a smaller value in the Resolution field; Preview shows the new size at the bottom of the window. On Windows, Microsoft's free PowerToys includes Image Resizer: after installing it, you right-click an image in File Explorer and choose Resize with Image Resizer. Microsoft says sizes can be set in pixels, percent, inches or centimetres, and that the Fit option scales the image in proportion without cropping it.

Reduce in small steps and stop as soon as the file is under 5 MB. Every step down in pixels lowers the detail available for a large print.

Keep the original

Make the smaller copy as a new file and keep the full-size photo. A later print, or a second portrait, may need every pixel of the original. Apple says that in Preview you can undo a crop straight away with Edit, then Undo Crop, and that you can restore an earlier version later with File, then Revert To, then Browse All Versions. Microsoft's Image Resizer saves the resized picture as a new file, and its settings show an example in which a file named example.png becomes example (Small).png, so the original stays untouched.

How many pixels to keep

The pixels you keep decide how sharp a large print can be. Pixels per inch, or ppi, is the number of image pixels along each inch of the print. The four Purrealism print sizes are 8 × 10, 12 × 16, 18 × 24 and 24 × 36 inches, and the same photo gives fewer pixels per inch on each larger size.

The photo checker further down this page shows the pixels per inch your photo gives at each of the four print sizes, and puts each one in a band: 300 ppi or more, 150 to 299, or under 150. Run it on the photo before and after you shrink it, to see what the change costs. The guide to art prints and paper explains what these bands mean for a print.

What the photo checker shows about the file

The photo checker works in your browser, and the photo never leaves your device. For the file, it shows:

  • The file size in MB, marked against the same 5 MB limit the portrait studio uses.
  • The pixel width and height, with the pixels per inch at each print size.
  • Brightness and sharpness scores, explained on the pages about black, white and two-tone coats and sharp pet photos.

A photo that passes the size check, keeps a high pixel count and shows your pet's eyes sharp is ready for the portrait studio.

Try it

Photo checker

Choose the photo you plan to use. The checker measures its size, pixels, brightness and sharpness in your browser. The photo never leaves your device.

Questions and answers

How do I reduce the file size of a photo?

To reduce a photo's file size, save it as a JPEG, crop away empty space, or reduce its pixel size. On a Mac, Apple says Preview's Tools, Adjust Size menu lets you enter a smaller resolution and shows the new file size. For a pet portrait photo, try cropping first, because it keeps every pixel of the face.

What is the difference between HEIC and JPEG?

HEIC and JPEG are two image file formats. Apple says the iPhone's High Efficiency format, HEIF, the format behind HEIC photos, offers better compression than JPEG, so it uses less storage while keeping the same visual quality. Apple says the older formats, including JPEG, are more broadly compatible with other devices and operating systems.

Can an iPhone save photos as JPG?

An iPhone can take JPG photos. Apple says to open Settings, tap Camera, tap Formats, then tap Most Compatible, and all new photos will use the JPEG format. To go back to the space-saving format, choose High Efficiency. The change only affects photos taken after you switch, so earlier photos stay in their original format.

Why does the iPhone save photos as HEIC?

The iPhone saves photos as HEIC to save storage space. Apple says HEIF, the format behind HEIC files, offers better compression than JPEG, so photos use less storage on the device and in iCloud Photos while keeping the same visual quality. Apple added support for the format in iOS 11 and macOS High Sierra, and recommends capturing in it.

Is HEIC or JPEG better quality for a pet photo?

HEIC and JPEG give the same visual quality, according to Apple, which says HEIF keeps the same visual quality while using less storage than JPEG. The difference is file size and compatibility: a HEIC photo is smaller, and a JPEG opens on more devices. For an upload, a JPEG exported from the original is the safe choice.

What is the difference between file size and image size?

File size is how much storage a photo takes, measured in megabytes (MB). Image size is how many pixels the photo has, such as 4,000 across by 3,000 down. Two photos with the same pixels can have different file sizes, because compression, such as JPEG, stores the same picture in fewer bytes. The 5 MB upload limit is about file size.

How much can JPEG compression shrink a photo?

JPEG compression can shrink a photo to a twentieth of its size with almost no visible change. Encyclopaedia Britannica says factors of 20 to 1 are easily done, with a loss of quality that is practically invisible to the human eye, and that compression of 100 to 1 is possible, with some loss of quality at the limits. JPEG does this by discarding detail the eye cannot see.

Does making a photo smaller lower its quality for a portrait?

Making a photo smaller lowers its quality for a portrait only if you remove too many pixels or compress it heavily. Saving as a JPEG at high quality keeps the pixel size and reduces the megabytes. Cropping away empty space also keeps the face at full detail. Shrinking the pixel size lowers the pixels per inch available for a large print.

How do I convert a HEIC photo to JPEG on a Mac?

To convert a HEIC photo to JPEG on a Mac, open it in Photos or Preview, choose File, then Export, then pick JPEG as the format before saving. Apple gives these steps in its guide to HEIF and HEVC media. The original stays in your library, so you keep the full photo as well.

How do I resize a photo on Windows?

One way to resize a photo on Windows is Image Resizer, part of Microsoft's free PowerToys utilities. Microsoft says that after installing PowerToys you right-click one or more images in File Explorer and choose Resize with Image Resizer. Sizes can be set in pixels, percent, inches or centimetres, and the Fit option scales the image without cropping it.

Sources

  1. Using HEIF or HEVC media on Apple devices, Apple Support. Accessed September 28, 2026.
  2. JPEG, Encyclopaedia Britannica. Accessed September 28, 2026.
  3. Crop, resize, or rotate an image in Preview on Mac, Apple Support. Accessed September 28, 2026.
  4. Change advanced camera settings on iPhone, Apple Support. Accessed September 28, 2026.
  5. Image Resizer utility for Windows, Microsoft Learn. Accessed September 28, 2026.
  6. Change your Camera app settings, Google Pixel Camera Help. Accessed September 28, 2026.
  7. Bring your photos to life, Apple Support. Accessed September 28, 2026.

Articles from Purrspectives that answer one question each.