How to Make a JPEG File: Methods, Tools, and What to Consider

JPEG is one of the most widely used image formats in the world — and for good reason. It balances visual quality with small file sizes, making it ideal for photos, web images, and sharing across devices. But if you've never intentionally created one, or you're trying to convert an existing image into JPEG format, the process isn't always obvious. Here's a clear breakdown of how JPEG files are made and what affects the results.

What Is a JPEG File, Exactly?

A JPEG (Joint Photographic Experts Group) file is a compressed image format that uses lossy compression — meaning some image data is permanently discarded to reduce file size. The more compression applied, the smaller the file, but the more visible the quality loss becomes.

JPEG files typically carry the extension .jpg or .jpeg — these are interchangeable. The format is optimized for photographs and complex images with gradients or many colors. It's less ideal for screenshots, text-heavy images, or graphics with sharp edges, where formats like PNG perform better.

The Main Ways to Create a JPEG File

1. Save or Export from a Photo or Image Editor 🖼️

The most common way to make a JPEG is to open or create an image in editing software and export or save it as a JPEG.

Popular tools that support this include:

  • Adobe Photoshop — File → Export → Export As → choose JPEG
  • GIMP (free) — File → Export As → type .jpg in the filename
  • Affinity Photo — File → Export → JPEG
  • Preview on macOS — File → Export → Format → JPEG
  • Paint on Windows — File → Save As → JPEG Picture

When saving, most tools will prompt you to set a quality level, usually on a scale from 0–100 or Low to Maximum. Higher quality means larger file size; lower quality means smaller file with more visible compression artifacts.

2. Convert an Existing Image to JPEG

If you already have an image in another format — PNG, TIFF, BMP, HEIC, WebP — you can convert it to JPEG.

On Windows:

  • Open the image in the Photos app or Paint, then use Save As → JPEG
  • Right-click the file in some versions of Windows and look for a "Convert" option

On macOS:

  • Open the image in Preview, go to File → Export, and select JPEG from the format dropdown

On mobile:

  • iPhone users can change HEIC photos to JPEG through Settings → Camera → Formats → "Most Compatible" (this applies to new captures)
  • Third-party apps like Image Converter (available on both iOS and Android) handle format changes for existing files

Online converters:

  • Tools like Convertio, Squoosh, or ILoveIMG let you upload a file and download it as a JPEG — no software installation needed

3. Take a Photo on a Camera or Smartphone

Many digital cameras and smartphones capture images directly as JPEGs by default. On most Android devices and older iPhones, photos are saved as .jpg automatically. On newer iPhones, the default is HEIC (a more efficient format), but this can be changed in camera settings.

On a DSLR or mirrorless camera, you can usually choose between RAW and JPEG capture in the settings menu. JPEG files from cameras are processed and compressed in-camera before saving.

4. Screenshot and Save as JPEG

Screenshots are usually saved as PNG by default on most operating systems. To get a JPEG instead:

  • Windows: Open the screenshot in Paint and save as JPEG
  • macOS: Hold Shift + Command + 5 to access screenshot options, or change the default format using the Terminal
  • Snagit and similar tools let you set JPEG as your default capture format

Key Variables That Affect Your JPEG

Not every JPEG is equal. Several factors determine the quality and size of the file you end up with:

VariableWhat It Affects
Quality setting (0–100%)Sharpness, artifacts, and file size
Original image resolutionOutput dimensions and detail retention
Color profile (sRGB vs. Adobe RGB)Color accuracy across different screens
Source formatConverting from lossy formats compounds quality loss
Software usedDifferent apps use different JPEG encoders

One important point: re-saving a JPEG as a JPEG introduces additional compression loss each time. If you're editing an image repeatedly, keep it in a lossless format (like TIFF or PSD) and export to JPEG only as a final step.

Factors That Vary by Use Case

The "right" way to make a JPEG depends heavily on what you're doing with it:

  • Web publishing typically calls for smaller file sizes (higher compression) to improve page load speed
  • Printing benefits from higher quality settings and higher resolution source images
  • Email attachments may need a balance between quality and file size limits
  • Social media platforms often re-compress uploaded images anyway, so ultra-high quality settings may not matter as much as you'd think 📱

Your operating system, the software you have access to, and whether you're working with raw photos, edited graphics, or screenshots all push you toward different tools and settings. Someone working on a Windows PC with no editing software has a different starting point than a designer using Photoshop on a Mac — and both are different from a smartphone user trying to change their camera output format.

The technical steps are straightforward once you know which method fits your situation — but the right combination of tool, quality setting, and workflow depends on exactly what you're starting with and where the final image needs to go. 🎯