JPEGTRANS plus RESIZE plus IPTC

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

Moderators: XnTriq, helmut, xnview

User avatar
Peter2
XnThusiast
Posts: 1348
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

JPEGTRANS plus RESIZE plus IPTC

Post by Peter2 »

I stumbled into my semi-finished project from this spring where I posted already some questions

I want to
- always convert (mostly) JPG to JPG (basically solved)
- always keep the quality (unsolved because of bug in software)
- always rotate to exif-orientation (semi-unsolved due to unclear behaviour of jpegtrans which can only be used as single parameter)
- always write IPTC-data to JPG (depending from jpegtrans)
- optionally "resize" to 2000px
- optionally add text to the image

So I want to ask for the best usage and order of the parameters:
- jpegtrans always alone and as first command?
- then IPTC and resize as second, independent call of Nconvert?
- then optional text?
- what to do with quality?
- ....

Thanks for advice!

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
Peter2
XnThusiast
Posts: 1348
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: JPEGTRANS plus RESIZE plus IPTC

Post by Peter2 »

Nobody knows?

Have a fine weekend!
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 44817
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: JPEGTRANS plus RESIZE plus IPTC

Post by xnview »

Peter2 wrote: Mon Jul 19, 2021 5:04 pm - jpegtrans always alone and as first command?
- then IPTC and resize as second, independent call of Nconvert?
- then optional text?
- what to do with quality?
First lossless command:
- jpegtrans
- IPTC
And:
- resize, text
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1348
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: JPEGTRANS plus RESIZE plus IPTC

Post by Peter2 »

To sum up - I need three independent, following calls of nconvert.exe?
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 44817
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: JPEGTRANS plus RESIZE plus IPTC

Post by xnview »

Peter2 wrote: Wed Aug 04, 2021 10:16 am To sum up - I need three independent, following calls of nconvert.exe?
yes
Pierre.