Pls. help me solve my problem.
I have different result, if I use XnView and if I export that operation to .bat file.
That is bat file:
nconvert -npcd 2 -size 256x256+0 -ctype rgb -corder inter -out jpeg -o C:\Users\Hey\Desktop\testthumbs\thumbs\%%.jpg -ratio -rtype lanczos -resize 398 299 "C:\Users\Hey\Desktop\testthumbs\content\421481_b203911.jpg" "C:\Users\Hey\Desktop\testthumbs\content\421484_018e7ae.jpg" "C:\Users\Hey\Desktop\testthumbs\content\421488_bf4f58d.jpg" "C:\Users\Hey\Desktop\testthumbs\content\421489_db34820.jpg"
In bat file I can not find option that I outlined by red color on pucture. Pls. say me what option I need add to my bat file to receive the same result that in XnView?
That is picture of settings of XnView:
different result with xnview and export bat file
Moderators: helmut, XnTriq, xnview
different result with xnview and export bat file
- Attachments
-
- screen.jpg (76.4 KiB) Viewed 616 times
Re: different result with xnview and export bat file
yes nconvert has not this option. You can try or
Code: Select all
-resize shortest size
Code: Select all
-resize longest size
Pierre.
Re: different result with xnview and export bat file
I try -resize shortest size and -resize longest size.
Pls. explain me, how I need use it.
If use -resize shortest size or -resize longest size only, but the size of pictutes not change.
If I use such variant: -resize 398 299 -resize longest size, I have the same result as -resize 398 299
If I use such variant: -resize 398 299 -resize shortest size, I have the same result as -resize 398 299
If I use variant:
-resize shortest size -resize 398 299 or -resize longest size -resize 398 299, I receive pictutes with width and height that I need, but without correct ratio. But .bat file with key: -ratio
So pls. say me how I can use it with correct aspect ratio?
Pls. explain me, how I need use it.
If use -resize shortest size or -resize longest size only, but the size of pictutes not change.
If I use such variant: -resize 398 299 -resize longest size, I have the same result as -resize 398 299
If I use such variant: -resize 398 299 -resize shortest size, I have the same result as -resize 398 299
If I use variant:
-resize shortest size -resize 398 299 or -resize longest size -resize 398 299, I receive pictutes with width and height that I need, but without correct ratio. But .bat file with key: -ratio
So pls. say me how I can use it with correct aspect ratio?
Re: different result with xnview and export bat file
No, try
Code: Select all
-resize longest 398
Pierre.
Re: different result with xnview and export bat file
Thanks for your advise.
I try. But have different result, that with XnView. May be for you possible to put that XnView Option to next version of nconvert?
It will be good for me.
Thanks one more for such good program as XnView.
And one more, not found that XnView Option in XnConvert. May be also add it there.
I try. But have different result, that with XnView. May be for you possible to put that XnView Option to next version of nconvert?
It will be good for me.
Thanks one more for such good program as XnView.
And one more, not found that XnView Option in XnConvert. May be also add it there.