-resize vs -thumb

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

Moderators: helmut, XnTriq, xnview

-resize vs -thumb

Postby nah0y » Fri Jan 27, 2017 12:23 pm

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!
nah0y
 
Posts: 4
Joined: Fri Jan 27, 2017 12:20 pm

Re: Resize vs Thumb

Postby helmut » Fri Jan 27, 2017 12:44 pm

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...
User avatar
helmut
Moderator
 
Posts: 7910
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: -resize vs -thumb

Postby nah0y » Fri Jan 27, 2017 12:51 pm

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 ;)
nah0y
 
Posts: 4
Joined: Fri Jan 27, 2017 12:20 pm


Return to NConvert

Who is online

Users browsing this forum: No registered users and 2 guests