Consultancy Needed

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

Moderators: XnTriq, helmut, xnview

jmhabis
Posts: 5
Joined: Tue Apr 26, 2011 3:18 pm

Consultancy Needed

Post by jmhabis »

Hi everyone,
I have been using Nconvert for many years.
I am building now a tool that converts many of the known image formats to a jpeg preview.
I need help with the following:
- commands for each of the file formats..
- how to install all the third party plugins used by Nconvert on Linux to handle files like Webp...
- what is the ideal preview format: jpeg or png?
is someone interested to document all this, or jump on a call?
this job off course will be chargeable.
thanks
User avatar
xnview
Author of XnView
Posts: 44448
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Consultancy Needed

Post by xnview »

jmhabis wrote: Sat Jan 07, 2023 10:20 pm - commands for each of the file formats..
What do you need?
- how to install all the third party plugins used by Nconvert on Linux to handle files like Webp...
you can use plugins for XnView MP x64
- what is the ideal preview format: jpeg or png?
jpeg is good but lossy
Pierre.
jmhabis
Posts: 5
Joined: Tue Apr 26, 2011 3:18 pm

Re: Consultancy Needed

Post by jmhabis »

hi Pierre,
hope all is well. I tried emailing you but you seem busy.
for the plugins, I need to know how to install them. any documentation?
I need a general command to convert most of the image formats (Webp, PSD, TIFF ) to jpg. I am sure there are some comands that can be different. for example I am not succeeding to convert png to jpeg. not sure if I need a plugin..
thx
User avatar
xnview
Author of XnView
Posts: 44448
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Consultancy Needed

Post by xnview »

jmhabis wrote: Mon Jan 09, 2023 11:04 pm for the plugins, I need to know how to install them. any documentation?
Only copy the Plugins folder where you have nconvert.exe
I need a general command to convert most of the image formats (Webp, PSD, TIFF ) to jpg. I am sure there are some comands that can be different. for example I am not succeeding to convert png to jpeg. not sure if I need a plugin..
thx
could you post an example of picture that failed and the command?
Pierre.
jmhabis
Posts: 5
Joined: Tue Apr 26, 2011 3:18 pm

Re: Consultancy Needed

Post by jmhabis »

libpng warning: iCCP: known incorrect sRGB profile
Error: This picture cannot be written using this format (./images/different_Images_Format/a.jpg)
User avatar
xnview
Author of XnView
Posts: 44448
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Consultancy Needed

Post by xnview »

jmhabis wrote: Mon Jan 16, 2023 10:02 pm libpng warning: iCCP: known incorrect sRGB profile
Error: This picture cannot be written using this format (./images/different_Images_Format/a.jpg)
which file and which command do you use?
Pierre.
jmhabis
Posts: 5
Joined: Tue Apr 26, 2011 3:18 pm

Re: Consultancy Needed

Post by jmhabis »

attached is the file
nconvert -q 50 -overwrite -rexifthumb -ratio -icc -rflag orient -resize 1000 1000 -out jpeg -o ....
You do not have the required permissions to view the files attached to this post.
User avatar
XnTriq
Moderator & Librarian
Posts: 6366
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Consultancy Needed

Post by XnTriq »

jmhabis wrote: Mon Jan 16, 2023 10:02 pmlibpng warning: iCCP: known incorrect sRGB profile
Error: This picture cannot be written using this format (./images/different_Images_Format/a.jpg)
There's an issue with libpng, Pierre: search.php?ch=0&keywords=iccp+incorrect
jmhabis
Posts: 5
Joined: Tue Apr 26, 2011 3:18 pm

Re: Consultancy Needed

Post by jmhabis »

so no solution for this. right?
User avatar
xnview
Author of XnView
Posts: 44448
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Consultancy Needed

Post by xnview »

please use

Code: Select all

nconvert -truecolors -q 50 -overwrite -rexifthumb -ratio -icc -rflag orient -resize 1000 1000 -out jpeg -o
Pierre.