-resize vs -thumb

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

Moderators: XnTriq, helmut, xnview

Post Reply
nah0y
Posts: 5
Joined: Fri Jan 27, 2017 12:20 pm

-resize vs -thumb

Post by nah0y »

Hello!
First, thanks a lot for the AWESOME tool..

We can achieve the same result using :
-thumb w h
-resize -ratio w h

What's the difference here?
Does the -thumb command already uses -resize -ratio behind the scene? Possible adding -rtype quick too?

Thanks!
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Resize vs Thumb

Post by helmut »

nah0y wrote:What's the difference here?Thanks!
I assume that...
... -thumb extracts the thumbnail embedded in the image and resizes it to the specified width/height.
... -resize extracts the image and resizes it to the specified width/height.

nConvert might use the image data if there is no embedded thumbnail available in the image.

But I'm not familiar with nConvert and this is all guessing...
nah0y
Posts: 5
Joined: Fri Jan 27, 2017 12:20 pm

Re: -resize vs -thumb

Post by nah0y »

I didn't know some images had the thumbnail in them too! Good to know. Thanks for answering!
Still waiting for a more precise answer though ;)
Post Reply