Author Topic: JPEG XL (.JXL) samples?  (Read 4309 times)

blue-j

  • Sr. Member
  • ****
  • Posts: 134
JPEG XL (.JXL) samples?
« 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

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 5862
Re: JPEG XL (.JXL) samples?
« Reply #1 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 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.

The /r/JpegXL sub-reddit is reasonably active for a small community.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

blue-j

  • Sr. Member
  • ****
  • Posts: 134
Re: JPEG XL (.JXL) samples?
« Reply #2 on: April 25, 2021, 06:10:07 PM »
Thanks so much!  I will create them with imagemagick. - J

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 18771
    • ExifTool Home Page
Re: JPEG XL (.JXL) samples?
« Reply #3 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.  You can use ExifTool to write metadata to this image to generate more samples with various metadata.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

blue-j

  • Sr. Member
  • ****
  • Posts: 134
Re: JPEG XL (.JXL) samples?
« Reply #4 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?

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 18771
    • ExifTool Home Page
Re: JPEG XL (.JXL) samples?
« Reply #5 on: April 26, 2021, 06:20:03 AM »
It supports EXIF and XMP metadata.  Nothing new.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

paolobenve

  • Newbie
  • *
  • Posts: 1
Re: JPEG XL (.JXL) samples?
« Reply #6 on: July 14, 2021, 03:14:13 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

blue-j

  • Sr. Member
  • ****
  • Posts: 134
Re: JPEG XL (.JXL) samples?
« Reply #7 on: July 15, 2021, 07:01:18 PM »
Thank you so much!  That's very kind of you to share.  : )

J

garpin

  • Newbie
  • *
  • Posts: 3
Re: JPEG XL (.JXL) samples?
« Reply #8 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.