Differences in nconvert&xnview jpeg compression

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

Moderators: XnTriq, xnview

Post Reply
Andys
Posts: 13
Joined: Wed Jun 04, 2008 7:14 am

Differences in nconvert&xnview jpeg compression

Post by Andys » Wed Apr 08, 2009 6:25 am

Just the other day I compared jpegs that were generated with xnview and nconvert. Whatever I tried, I could not reach xnview's quality with nconvert. XNview's jpeg was always a bit sharper and cleaner that nconvert's one.
Maybe someone can tell me what's the differences are? Judging by common sense, they should have the same libs/functions for jpeg conversion.

User avatar
xnview
Author of XnView
Posts: 33666
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Differences in nconvert&xnview jpeg compression

Post by xnview » Wed Apr 08, 2009 7:06 am

Really strange, because xnview & nconvert use the same library :-)
Are you sure that you have the same 'jpeg quality'?
Pierre.

Andys
Posts: 13
Joined: Wed Jun 04, 2008 7:14 am

Re: Differences in nconvert&xnview jpeg compression

Post by Andys » Wed Apr 08, 2009 5:12 pm

After a few experiments with xnview (not nconvert as previously) I can say that it's because of "subsampling factor".
My mistake, I didn't try it on a lot of different pictures. All of my source images had a lot of small detailed objects (leaves).
I guess that's what the subsample setting is for, so I should rephrase the question - "Is there such a setting in nconvert?"

User avatar
xnview
Author of XnView
Posts: 33666
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Differences in nconvert&xnview jpeg compression

Post by xnview » Thu Apr 09, 2009 11:46 am

You have changed subsampling factor in XnView? Currently no setting for nconvert
Pierre.

User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Re: BUG + Differences in nconvert&xnview jpeg compression

Post by DOS386 » Mon Apr 13, 2009 9:36 am

xnview wrote:You have changed subsampling factor in XnView? Currently no setting for nconvert
There seems to be space for improvements :-)

Image

XN offers following settings:

- quality
- DCT method
- smoothing
- subsampling
- optimized Huffman (why not always on ???)
- progressive
- estimated quality (guess based on input file ???)
- rebuild
- 4 metadata keep's

NC offers:

Code: Select all

-q value          : JPEG/PNG/FPX/WIC/PDF quality (default : 100)
This is apparently wrong :bug: - PNG is lossless ;-)

Code: Select all

-i                : Interlaced GIF / Progressive JPEG
-clean value  : JPEG Clean Metadata (EXIF/IPTC/...)
so:

- quality
- metadata control
- progressive

and following settings are lacking:

- DCT method
- optimize Huffman
- subsampling
There is indeed no WinZIP under my rock.

Post Reply