Page 1 of 1

JPEG 'use estimated original quality' option

Posted: Fri Jan 15, 2021 1:33 pm
by cday
A JPEG save compression option 'use estimated original quality' would be a useful addition please... :D

Re: JPEG 'use estimated original quality' option

Posted: Thu Jan 28, 2021 1:26 pm
by xnview
ok, will be added

Re: JPEG 'use estimated original quality' option

Posted: Wed Mar 10, 2021 5:21 pm
by Peter2
See version 2.49.5, Feb 02, 2021

Re: JPEG 'use estimated original quality' option

Posted: Mon Apr 19, 2021 2:54 pm
by Peter2
@Pierre

please add this info also to the "-help" section. At the moment there is only:

Code: Select all

-q value          : JPEG/FPX/WIC/PDF/JPEG2K quality (default : 85)

Re: JPEG 'use estimated original quality' option

Posted: Wed Apr 21, 2021 8:28 pm
by Peter2
BTW: How to use it? I failed ...

Re: JPEG 'use estimated original quality' option

Posted: Wed Apr 21, 2021 8:48 pm
by cday
Peter2 wrote: Wed Apr 21, 2021 8:28 pm BTW: How to use it? I failed ...
Using -use_org_quality in place of a -q term doesn't work?

Such as:

Code: Select all

-out jpeg -use_org_quality

Re: JPEG 'use estimated original quality' option

Posted: Wed Apr 21, 2021 9:24 pm
by Peter2
My code is longer, and it seems to have problems with params following the -use_org_quality.
But finally it creates a file - but not the one I defined ..

Defined quality:

Code: Select all

D:\xxx\foto>nconvert.exe -keepfiledate -q 100 -out jpeg -jpegtrans exif -exif_orient 1  -o "D:\xxx\foto\q100.jpg"   "D:\xxx\foto\source.JPG"
** NCONVERT v7.70 (c) 1991-2019 Pierre-E Gougelet (Feb  1 2021/10:49:07) **
        Version for Windows NT/9x/2000/Xp/Vista/7  (All rights reserved)
** This is freeware software (for non-commercial use)

Lossless transformation of D:\xxx\foto\source.JPG : OK
Original quality:

Code: Select all

D:\xxx\foto>nconvert.exe -keepfiledate -use_org_quality -out jpeg -jpegtrans exif -exif_orient 1  -o "D:\xxx\foto\orig.jpg"   "D:\xxx\foto\source.JPG"
** NCONVERT v7.70 (c) 1991-2019 Pierre-E Gougelet (Feb  1 2021/10:49:07) **
        Version for Windows NT/9x/2000/Xp/Vista/7  (All rights reserved)
** This is freeware software (for non-commercial use)

  Error: Can't open file (jpeg)
  Error: Can't open file (-jpegtrans)
  Error: Can't open file (exif)
  Error: Can't open file (-exif_orient)
  Error: Can't open file (1)
  Error: Can't open file (-o)
  Error: Can't open file (D:\xxx\foto\orig.jpg)

Conversion of D:\xxx\foto\source.JPG into D:\xxx\foto\source_1.jpg OK

Re: JPEG 'use estimated original quality' option

Posted: Thu Apr 22, 2021 1:19 pm
by xnview
there is a problem with 'use_org_quality' argument, and there is no need to use it with -jpegtrans (quality is not changed)

Re: JPEG 'use estimated original quality' option

Posted: Thu Apr 22, 2021 1:47 pm
by Peter2
xnview wrote: Thu Apr 22, 2021 1:19 pm there is a problem with 'use_org_quality' argument, and there is no need to use it with -jpegtrans (quality is not changed)
You mean there is a problem which you will fix or which can be avoided by the user?

Re: JPEG 'use estimated original quality' option

Posted: Sun Apr 25, 2021 7:48 am
by xnview
Peter2 wrote: Thu Apr 22, 2021 1:47 pm
xnview wrote: Thu Apr 22, 2021 1:19 pm there is a problem with 'use_org_quality' argument, and there is no need to use it with -jpegtrans (quality is not changed)
You mean there is a problem which you will fix or which can be avoided by the user?
yes will be fixed

Re: JPEG 'use estimated original quality' option

Posted: Mon Jul 19, 2021 4:04 pm
by Peter2
Hello Pierre
some schedule for a fix?

Re: JPEG 'use estimated original quality' option

Posted: Tue Aug 03, 2021 2:31 pm
by xnview
new version will be released in september