mozjpeg icon indicating copy to clipboard operation
mozjpeg copied to clipboard

cjpeg 4.0.0: Unrecognized input file format for .jpeg

Open ingria opened this issue 6 years ago • 3 comments

mozjpeg version 4.0.0 (build 20190424). Built on Ubuntu 18.04 x64 from master branch:

Unrecognized input file format --- perhaps you need -targa

3.3.2 from commit 103c6c32 works fine with the same file and same setup.

ingria avatar Apr 24 '19 04:04 ingria

Are you sure you're running mozjpeg's cjpeg? Because this is a message from the vanilla libjpeg that you may have on your system.

kornelski avatar Apr 24 '19 12:04 kornelski

Totally sure. I've been using the same local repo for both versions.

Cloned master - Built - Saw that 4.0.0 doesnt's work - Checked out 8217fd - Built - 3.3.2 OK.

I presume there's something wrong with cmake in 4.0.0, because 3.3.2 uses autoreconf. Maybe I've missed some important flags for cmake?

ingria avatar Apr 24 '19 14:04 ingria

I've updated this message on master, and it now says whether PNG was enabled or not. Your issue says JPEG, but if it actually was PNG, that would explain the difference, since the new build system doesn't auto-detect PNG support.

kornelski avatar Apr 24 '19 21:04 kornelski