Convert MIFF to JPG

Turn MIFF images into JPEG. The first picture in the file at the same size at quality 90 unless asked otherwise, with its color profile.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MIFF files on the dialor turn it to pick what to do

A JPG from your MIFF image.The first picture in the file becomes one JPG at its original size and quality 90.

  1. What you get

    A single JPG of the first picture in the MIFF file. It has the same width and height as the original and is saved at quality 90 unless you change Quality. The color profile is kept.

    JPG is lossy, so some detail is not carried over, even at the default setting. MIFF itself is lossless.

  2. What changes

    JPG cannot be transparent, so transparent areas become white. Set Background to fill them with another color, written as #RRGGBB.

    If the MIFF file holds more than one picture, only the first is used.

  3. Options

    Set Max width or Set Max height to shrink a large image. The shape stays the same, and an image that is already smaller is not enlarged. Both accept 1 to 20000.

    Set Quality between 1 and 100. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result 90, 180 or 270 degrees clockwise.

    Turn on Strip metadata to remove EXIF data, such as the camera, the time and the GPS position, and the color profile. The file gets a little smaller and says less about where it came from.

  4. When it fails

    If the MIFF file cannot be parsed, the conversion stops with input_corrupted. No JPG is produced.

    To go the other way, use JPG to MIFF.

MIFF and JPG.What each format is, and the options this conversion takes.

  1. 01 · background

    Background

    The color that fills transparent areas, for formats such as JPEG that cannot be transparent. Write it as #RRGGBB, such as #ffffff for white.

    default #ffffff
  2. 02 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  3. 03 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  5. 05 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  6. 06 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270
  7. 07 · strip

    Strip metadata

    Removes EXIF and other metadata, such as the camera, the time and the GPS position a photo was taken at, and the color profile. The file gets a little smaller and says less about where it came from.

The formats

From · MIFF

MIFF

ImageMagick's own lossless format that keeps every attribute of an image.

Extensions
.miff
MIME type
image/x-miff
Kind
Images
To · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images

In your code.The same MIFF to JPG conversion through the API, for your app or your agent.

terminal
$ cv convert photo.miff photo.jpg
$ cv convert photo.miff photo.jpg

Questions.What people ask about MIFF to JPG.

01OF 04

Yes. The width and height stay the same unless you set Max width or Max height. Those only shrink an image, never enlarge it.

They become white. Set Background to another color in #RRGGBB form to fill them differently.

Yes, by default. Turn on Strip metadata and the color profile is removed along with the EXIF data.

The MIFF file could not be parsed. The conversion stops with input_corrupted and produces no JPG.

More conversions.Other ways in and out of MIFF and JPG.