Convert PNG to JXL
Turn PNG images into JXL. A JPEG XL picture at the same size, lossy at quality 90 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 XL picture at the same size.Lossy at quality 90 unless you ask for something else.
What you get
A JXL file with the same width and height as your PNG. The conversion is lossy and uses quality 90 by default, so the picture is not a pixel-for-pixel copy of the original.
One PNG gives one JXL file.
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, so the default is a sensible place to stay for most images.
Lower values keep less detail. To go back from JXL later, use JXL to PNG.
When it fails
A PNG that cannot be parsed stops the conversion with
input_corrupted. The file is damaged or is not a valid PNG, so there is nothing to read.
PNG and JXL.What each format is, and the options this conversion takes.
- 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 90
The formats
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
JPEG XL
JPEG XL, a modern image codec with lossless JPEG recompression and very high quality per byte.
- Extensions
- .jxl
- MIME type
- image
/jxl - Kind
- Images
In your code.The same PNG to JXL conversion through the API, for your app or your agent.
$ cv convert photo.png photo.jxl$ cv convert photo.png photo.jxlQuestions.What people ask about PNG to JXL.
No. It is lossy at quality 90 by default. Set Quality higher to keep more detail, though above 90 the file grows quickly while the picture barely changes.
Yes. The picture comes out at the same width and height as the original.
The PNG could not be parsed. The conversion stops with input_corrupted and produces no JXL file.
No. Each conversion produces one file from one PNG.