Search found 23 matches

by payaxnv
Thu Oct 28, 2021 4:21 pm
Forum: XnConvert
Topic: BAT files: missing parametres ?
Replies: 7
Views: 5398

Re: BAT files: missing parametres ?

@cday
hello
with:
set in_low= "0,0,0,0,"
set in_high= "220,255,255,255,"
set gamma= "1,1,1,1,"
set out_low="0,0,0,0,"
set out_high= "255,255,255,255,"
set nc_level=-levels2 %in_low% %in_high% %gamma% %out_low% %out_high%
echo %nc_level%
pause
we get:
-levels2 "0,0,0,0," "220,255,255,255," "1,1,1 ...
by payaxnv
Thu Oct 28, 2021 4:01 pm
Forum: XnConvert
Topic: BAT files: missing parametres ?
Replies: 7
Views: 5398

Re: BAT files: missing parametres ?

@ Pierre
ca marche :)
si j'ai bien compris avec Xnconvert le script enregistre plus de données:
<Levels in_low="10,0,0,0," in_high="224,255,255,255," out_low="0,0,0,0," out_high="255,255,255,255," gamma="1,1,1,1," mode="0"/>
qui sont simplifiées avec nconvert en :
-levels2 10 224 1 0 255
avec ...
by payaxnv
Tue Oct 26, 2021 4:14 pm
Forum: XnConvert
Topic: BAT files: missing parametres ?
Replies: 7
Views: 5398

Re: BAT files: missing parametres ?

Bonsoir Pierre
Encore merci pour votre programme.
Si j'ai bien compris l'export pour nconvert (pour les paramètres de niveaux) ne fonctionne pas ?

j'ai essayé de mon coté avec (morceau de BAT) en copiant les valeurs du script XBS:
set in_low= "0,0,0,0,"
set in_high= "220,255,255,255,"
set gamma ...
by payaxnv
Mon Oct 25, 2021 9:19 am
Forum: NConvert
Topic: Command line options of NConvert
Replies: 6
Views: 124632

Re: Command line options of NConvert 6.93

2021-10-25
NCONVERT v7.80 (c) 1991-2021 Pierre-E Gougelet (Apr 27 2021/08:27:27)

** NCONVERT v7.80 (c) 1991-2021 Pierre-E Gougelet (Apr 27 2021/08:27:27) **
Version for Windows Xp/Vista/7 x64 (All rights reserved)
** This is freeware software (for non-commercial use)

The JPEG code is based in ...
by payaxnv
Mon Oct 25, 2021 9:15 am
Forum: XnConvert
Topic: BAT files: missing parametres ?
Replies: 7
Views: 5398

Re: BAT files: missing parametres ?

auto answer :P
i had an old help text for nconvert (on the forum).
the new one shows:
-levels b w : Levels
-levels2 in_low in_high gamma out_low out_high : Levels

This is the params in the XBS file:
<Levels in_low="0,0,0,0," in_high="210,255,255,255," out_low="0,0,0,0," out_high="255,255,255 ...
by payaxnv
Mon Oct 25, 2021 7:32 am
Forum: XnConvert
Topic: BAT files: missing parametres ?
Replies: 7
Views: 5398

BAT files: missing parametres ?

Hello;
i have a little script doing well within xnconvert
1:Niveaux, avec Luminosité: 0...210 & sortie 0...255
2:Redimensionner: coté le plus court = 1400
works well in the prog itself :P
in .xbs we get all the parameterss:
<?xml version="1.0" encoding="UTF-8"?><XnView_script version="1.0" name ...
by payaxnv
Thu Aug 03, 2017 12:10 pm
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

Re: un probleme avec / problem with "-levels 1 213"

OK i understand,
but it s not working fixed levels (should be apply to all images) as -levels 1 123
?
by payaxnv
Mon Jul 31, 2017 2:02 pm
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

Re: un probleme avec / problem with "-levels 1 213"

the code is in the post above :D :
in fact only the first command is interesting, second one resize (properly) an already altered image
rem 2 operations
rem intermediate images are kept for debugging
rem 1 works on levels
%nconvert_path% -icc_ie -overwrite -out bmp -autolevels -o img_1920_RSD0 ...
by payaxnv
Sun Jul 30, 2017 2:58 pm
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

Re: un probleme avec / problem with "-levels 1 213"

another example:
by payaxnv
Sun Jul 30, 2017 2:26 pm
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

Re: un probleme avec / problem with "-levels 1 213"

some info:
tested with a total of #200 images from various sources > same result
i forgot to mention that during the bat, nconvert says "ok" to each operation

most interesting: tested with -autolevels :
rem 2 operations
rem intermediate images are kept for debugging
rem 1 works on levels ...
by payaxnv
Sun Jul 30, 2017 8:25 am
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

Re: un probleme avec / problem with "-levels 1 213"

PS
tested with another bunch of images from another sources > same result :bug:
by payaxnv
Sun Jul 30, 2017 8:10 am
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

Re: un probleme avec / problem with "-levels 1 213"

no result (same result) with:
%nconvert_path% -icc_ie -levels 0 213 -ratio -rtype lanczos -resize shortest 1920 -out bmp -o img_1920_RSD_### *.jpg
:bug: :|
I have tested in 2 steps: 1: just change levels then 2 resize...same bug
so it is in the "level" command
i try also level 1 123 instead of ...
by payaxnv
Sat Jul 29, 2017 9:35 pm
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

Re: un probleme avec / problem with "-levels 1 213"

thanks for your answer:
In XnConvert all images are converted correctly?
YES

But in NConvert [tested in a batch file] all images, or only some images, are not converted correctly?
NO... NONE

Could you upload an example file that doesn't convert correctly using NConvert, so that Pierre can possibly ...
by payaxnv
Sat Jul 29, 2017 4:05 pm
Forum: NConvert
Topic: un probleme avec / problem with "-levels 1 213"
Replies: 12
Views: 2335

un probleme avec / problem with "-levels 1 213"

bonjour (Englih(?) is at the end)
je cherche a récupérer de vieux scans qui sont un peu gris et de faible résolution.
Dans xnview ca marche plutot bien avec:
nconvert -levels 0 213 -ratio -rtype lanczos -resize shortest 1920
mais qund j'inclus cette commande dans un BAT (avec nconvert donc) j'ai ...
by payaxnv
Sat Apr 02, 2011 6:16 pm
Forum: Classic - General [Français]
Topic: redimensionnement sur 1 coté? RESOLU et NON
Replies: 5
Views: 1102

Re: redimensionnement sur 1 coté? RESOLU et NON

RESOLU :D :D :D :D :D :D
il faut spécifier en plus le dpi pour avoir des tailles finalement homogènes, sans se soucier des différents programmes d'édition par les quel sont passées les images (dans mon cas paintdotnet)
le code qui va bien:
c:\nconvert -overwrite -out jpeg -q 100 -dpi 300 -resize ...