Dng v1.7 embedded preview

Started by berliner_ffm, February 20, 2024, 10:41:53 AM

Previous topic - Next topic

berliner_ffm

Hi,

According to Adobe,large  previews in the latest dng version aren't embedded as jpg anymore but as jxl. However if I am trying to extract to extract previews with exif tool only a very small jpg is returned. Is there any way to extract the embedded large jxl (preferably as jpg)?

Thanks for your help!

Phil Harvey

Can you send me a sample DNG containing a JXL like this?  My email is philharvey66 at gmail.com

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

StarGeek

Quote from: berliner_ffm on February 20, 2024, 10:41:53 AMIs there any way to extract the embedded large jxl (preferably as jpg)?

Exiftool only deals with metadata.  It can extract the JXL, but can't convert it into a jpeg.

You can use this command to see all the preview images and see if there is a full size jpeg embedded as well
exiftool -Preview:all file.dng
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

berliner_ffm

Hi Phil,

I just send you an email.
@Stargeek: understood, that no conversion is possible. However -Preview:all does not return any full size preview, only a very small jpg (256px wide).

I hope there is a way to get at least a readable file out of the dng...

Thanks for your effort!
 

Phil Harvey

I got the sample, thanks.  ExifTool 12.78 will have the ability to extract two JXL previews from the file you sent (1024x578 and 8236x4652 pixels) with the tag name PreviewJXL.

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

berliner_ffm


berliner_ffm

Thanks for new new release. The extraction of jxl-previews works beautifully!!