### 5.26. Export Image as HEJ2

#### 5.26.1. Overview

The HEJ2 format is a JPEG 2000 image encoded inside a HEIF container. GIMP also has direct JPEG 2000 export available.

15.74. ábra - The HEJ2 Export dialog

#### 5.26.2. Options

Lossless

  When checked, the image will be exported with lossless compression. This will create a higher quality image at the cost of a larger file size.

Quality

  If Lossless is not checked, this value determines the quality of the image compression. 100 provides the best quality image and lowest compression, while 0 provides the highest compression and worst quality image.

Pixel format

  Defines what pixel format the exported image should use for color sub-sampling. There are three options:

  YUV420

    Suitable for photographs with lossy compression. This format is most compatible with other software that uses HEIF and AVIF.

  YUV444

    When used with a high Quality setting, this format exports a visually lossless image.

  RGB

    Useful when exporting images with true lossless quality.

    RGB is not available when exporting as HEJ2.

Bit depth

  Determines if the pixel data should be stored using 8 bits, 10 bits, or 12 bits per color channel.

Encoder speed

  The tradeoff between speed and compression. Slow will provide a smaller filesize but takes longer to encode.

Save color profile

  If checked, the color profile is embedded in the exported image.

Save Exif

  If checked, the Exif metadata is embedded in the exported image.

Save XMP

  If checked, the XMP metadata is embedded in the exported image.

5.25. Export Image as HEIF/HEIC |  | 5.27. Export Image as HTML Table

Report a bug in GIMP Report a documentation error