Issues with jpegli conversion in NConvert [Solved]

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderator: xnview

seabirdr
Posts: 20
Joined: Fri May 15, 2020 9:53 am

Issues with jpegli conversion in NConvert [Solved]

Post by seabirdr »

I have been trying to use NConvert for jpegli conversions, but I am running into some unexpected behavior. Since I could not find any official documentation for jpegli support, I have been using the following command based on my own assumptions:

`D:\GProgram\NConvert\nconvert.exe -out jpegli -q 85 "test.png" "test-out.jpeg"`

Image

I am facing two specific problems:

1. The custom output filename is being ignored.
2. The conversion produces two identical images. They have different filenames, but the file size and content are exactly the same.

Is this a known bug, or is there a specific syntax I should be using for jpegli? Any help would be appreciated.
seabirdr
Posts: 20
Joined: Fri May 15, 2020 9:53 am

Re: Issues with jpegli conversion in NConvert

Post by seabirdr »

Never mind, I just figured it out! It turns out I was missing the -o flag for the output filename. The correct command should be:

Code: Select all

D:\GProgram\NConvert\nconvert.exe -out jpegli -q 85 -o "test-out.jpeg" "test.png"
Adding the -o flag fixed issues. Problem solved!