Convert JP2 to AVIF

Turn JP2 images into AVIF. Same size and transparency, lossy at quality 60 unless asked otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

JPEG 2000 images as AVIF files.Same width and height, transparency kept, at quality 60 unless you choose otherwise.

  1. What you get

    One AVIF file for each JP2 image. It has the same width and height as the original, and transparent areas stay transparent.

    The conversion is lossy. The default Quality is 60, so some detail is lost compared with the JP2.

  2. Options

    Set Quality from 1 to 100. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Set Max width or Set Max height to shrink a large image while keeping its shape. Images that are already narrower or shorter stay as they are, so nothing is enlarged. Both accept values from 1 to 20000.

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  3. Going the other way

    To turn an AVIF back into JPEG 2000, use AVIF to JP2. For other options, see every AVIF conversion.

JP2 and AVIF.What each format is, and the options this conversion takes.

  1. 01 · 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
  2. 02 · 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
  3. 03 · 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 60
  4. 04 · rotate

    Rotate

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

    90 · 180 · 270

The formats

From · JP2

JPEG 2000

JPEG 2000, a wavelet image codec used in archives, cinema and medical imaging.

Extensions
.jp2 .j2k
MIME type
image/jp2
Kind
Images
To · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

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

terminal
$ cv convert photo.jp2 photo.avif
$ cv convert photo.jp2 photo.avif

Questions.What people ask about JP2 to AVIF.

01OF 04

Yes. Transparent areas in the JP2 stay transparent in the AVIF.

Yes. It uses lossy compression at quality 60 unless you change Quality. Raising it keeps more detail and makes a bigger file.

No, not unless you ask. The width and height stay the same. Set Max width or Set Max height if you want a smaller image.

Yes. Set Rotate to 90, 180 or 270 to turn the result clockwise by that many degrees.

More conversions.Other ways in and out of JP2 and AVIF.