Convert JP2 to JPG
Turn JP2 images into JPEG. Same size, at quality 90 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
A JPG from your JPEG 2000 file.The picture keeps its width and height. Quality is set to 90 unless you change it.
What you get
One JPG at the same size as the JP2. Quality is 90 unless you set another value with Quality, which takes 1 to 100.
JPG is lossy, so the compression does not keep every detail of the original. Higher Quality keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
Transparency
JPG cannot be transparent, so transparent areas become white. Set Background to fill them with another color, written as #RRGGBB, such as #ffffff for white.
Options for the result
Set Max width or Max height to shrink a picture that is wider or taller than the value. Pictures that are smaller stay as they are, so nothing is enlarged.
Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result by 90, 180 or 270 degrees clockwise.
Turn on Strip metadata to remove EXIF data, such as the camera, the time, the GPS position and the color profile. To go the other way, use JPG to JP2.
JP2 and JPG.What each format is, and the options this conversion takes.
- 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 - 02 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 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 - 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 - 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 - 06 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 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
JPEG 2000
JPEG 2000, a wavelet image codec used in archives, cinema and medical imaging.
- Extensions
- .jp2 .j2k
- MIME type
- image
/jp2 - Kind
- Images
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 JP2 to JPG conversion through the API, for your app or your agent.
$ cv convert photo.jp2 photo.jpg$ cv convert photo.jp2 photo.jpgQuestions.What people ask about JP2 to JPG.
Yes. The width and height stay the same unless you set Max width or Max height.
They become white. Set Background to use another color.
Yes. Turn on Strip metadata to remove EXIF data, including the camera, the time and the GPS position. The color profile is removed too.
The conversion stops with input_corrupted when the file could not be parsed.