I cannot get this to work:
nconvert -out jp2 -q 60 -o output.jp2 input.jp2
It creates output.jp2 just fine, but the quality is at 100%. In my tests I can put any number in place of the 60 and it does the same thing.
If I save the file with XnView with a quality setting of 60 the file goes from over 200K to 44k but looks just fine.
How do I get nconvert to save at the '60' quality level?
Jorgie
Using quality (-q) with jp2 (-out jp2) has no effect
Moderators: XnTriq, helmut, xnview
-
- Posts: 3
- Joined: Tue Nov 11, 2003 6:37 am
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Using quality (-q) with jp2 (-out jp2) has no effect
Hello,
Regards. Pierre.
Strange, i have tested with NConvert v4.11, and all is ok!jedijorgie wrote:I cannot get this to work:
nconvert -out jp2 -q 60 -o output.jp2 input.jp2
It creates output.jp2 just fine, but the quality is at 100%. In my tests I can put any number in place of the 60 and it does the same thing.
If I save the file with XnView with a quality setting of 60 the file goes from over 200K to 44k but looks just fine.
How do I get nconvert to save at the '60' quality level?
Regards. Pierre.
-
- Posts: 3
- Joined: Tue Nov 11, 2003 6:37 am
that is really strange
I just downloaded and reinstalled. Here is what I am seeing.
I started with http://jorgie.org/initial.jpg which is 266,223 bytes.
I then ran:
nconvert.exe -out jp2 -q 60 -o nconvert60.jp2 initial.jpg
Which created http://jorgie.org/nconvert60.jp2 which is 425,451 bytes!
I then opened that in XnView and saved it as XnView60.jp2 with the quality set to 60.
That created http://jorgie.org/XnView60.jp2 whis is 71,061 bytes!
So I ask again, how do I get nconvert to output the 71,061 version of the file that XnView produces? Am I using the wrong setting with nconvert?
Jorgie
I started with http://jorgie.org/initial.jpg which is 266,223 bytes.
I then ran:
nconvert.exe -out jp2 -q 60 -o nconvert60.jp2 initial.jpg
Which created http://jorgie.org/nconvert60.jp2 which is 425,451 bytes!
I then opened that in XnView and saved it as XnView60.jp2 with the quality set to 60.
That created http://jorgie.org/XnView60.jp2 whis is 71,061 bytes!
So I ask again, how do I get nconvert to output the 71,061 version of the file that XnView produces? Am I using the wrong setting with nconvert?
Jorgie
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: that is really strange
Hello,
Regards. Pierre.
No, sorry, there is a little bug. Quality is not used (ratio 1:20 is used).jedijorgie wrote:So I ask again, how do I get nconvert to output the 71,061 version of the file that XnView produces? Am I using the wrong setting with nconvert?
Regards. Pierre.