Convert PNG to JP2

Turn PNG images into JP2. A JPEG 2000 picture at the same size, lossy at quality 80 unless asked otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A JPEG 2000 picture at the same size.The width and height stay the same. The compression is lossy at quality 80.

  1. What you get

    One JP2 file with the same width and height as your PNG. JPEG 2000 is a wavelet image codec used in archives, cinema and medical imaging.

    The compression is lossy, so some detail from the PNG is not kept. The default is quality 80.

  2. Setting the quality

    Set Quality to a value 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. Quality 80 is a reasonable place to stay unless you need more detail kept.

  3. When it fails

    A file that cannot be parsed stops the conversion with input_corrupted. This happens when the PNG is damaged or is not a valid PNG.

    To go the other way, use JP2 to PNG.

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

  1. 01 · 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 80

The formats

From · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images
To · 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

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

terminal
$ cv convert photo.png photo.jp2
$ cv convert photo.png photo.jp2

Questions.What people ask about PNG to JP2.

01OF 04

No. It is lossy at quality 80 unless you change Quality. Some detail from the PNG is not kept.

No. The JP2 has the same width and height as the PNG.

It sets how much detail the lossy compression keeps. Higher values keep more detail and make a bigger file.

The file could not be parsed. The conversion stops with this code when the PNG cannot be read.

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