ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: blue-j on April 25, 2021, 04:38:20 PM

Title: JPEG XL (.JXL) samples?
Post by: blue-j on April 25, 2021, 04:38:20 PM
I cannot find sample .JXL images ANYWHERE!  Can anyone help?  I'm curious to see the new JPEG XL support in 12.25.

Yours,
J
Title: Re: JPEG XL (.JXL) samples?
Post by: StarGeek on April 25, 2021, 05:17:08 PM
From what I understand, you can convert your regular jpegs to jpegXL (and back again I think?). 

I found this google docs list (https://docs.google.com/spreadsheets/d/1bTeraUXIl-nGM8c53IdURxmJbabX9eXqPZwVSynoH9U/edit#gid=0) of programs that can deal with JpegXL, which includes links.  It looks like ImageMagick can create lossless JpegXL with no other options as of yet.  As well as the base cjxl.exe program (https://github.com/eddiezato/eddiezato.github.io/releases/).

The /r/JpegXL sub-reddit (https://www.reddit.com/r/jpegxl/) is reasonably active for a small community.
Title: Re: JPEG XL (.JXL) samples?
Post by: blue-j on April 25, 2021, 06:10:07 PM
Thanks so much!  I will create them with imagemagick. - J
Title: Re: JPEG XL (.JXL) samples?
Post by: Phil Harvey on April 25, 2021, 09:08:24 PM
There is a metadata sample (no real image) in the t/images directory of the full ExifTool distribution (https://github.com/exiftool/exiftool/blob/master/t/images/JXL.jxl).  You can use ExifTool to write metadata to this image to generate more samples with various metadata.

- Phil
Title: Re: JPEG XL (.JXL) samples?
Post by: blue-j on April 26, 2021, 12:04:47 AM
Thank you!  Have you only supported the format, or is there also additional metadata related to it that's new?
Title: Re: JPEG XL (.JXL) samples?
Post by: Phil Harvey on April 26, 2021, 06:20:03 AM
It supports EXIF and XMP metadata.  Nothing new.

- Phil
Title: Re: JPEG XL (.JXL) samples?
Post by: paolobenve on July 14, 2021, 03:14:13 PM
Quote from: blue-j on April 25, 2021, 04:38:20 PM
I cannot find sample .JXL images ANYWHERE!  Can anyone help?  I'm curious to see the new JPEG XL support in 12.25.

Yours,
J

https://w2w-images.sftcdn.net/image/upload/v1620662834/Ghacks/IMG_20200308_194050.jxl
Title: Re: JPEG XL (.JXL) samples?
Post by: blue-j on July 15, 2021, 07:01:18 PM
Thank you so much!  That's very kind of you to share.  : )

J
Title: Re: JPEG XL (.JXL) samples?
Post by: garpin on July 25, 2021, 03:44:40 AM
You can find few more samples on the JPEG XL info page: https://jpegxl.info / https://jpegxl.info/jxl-art.html

According to https://github.com/w3c/csswg-drafts/issues/4929#issuecomment-718849793: "If the optional Exif (or XMP) metadata says something that conflicts with what the codestream says, then a decoder has to ignore the Exif/XMP"

So, setting Exif or XMP metadata (such as image orientation) may not impact the image, because it uses data in the codestream.