Page 1 of 1

performance: Whats the fastest way to resize and resample?

Posted: Mon Jan 29, 2007 11:12 pm
by daniel
Hello again,

i'm testing XnView, GD lib (PHP bundle) and ImageMagick. Due to the large file format compatibility of XnView and ImageMagick i'm doing some benchmarks on them.
I found out that XnView ist much faster in average but has a lost in color acurancy. But this is not the point.
I was wondering, if I could speed things up by using the -rtype quick flag when resizing. It turned out to be even much slower.
My aim is just creating really (and i mean really) fast thumbnails (well, width of 400px) where quality is not very important.
I'm having JPEGs of any size going up to 30MB, which takes far more than 60secs (my limiter).
Now i'm using:

Code: Select all

nconvert -out png -o output_image.png -ratio -resize 400 0 input_image.jpg
I've tried:

Code: Select all

nconvert -out png -o output_image.png -ratio -rtype quick -resize 400 0 input_image.jpg
which is even slower.
Any idea how to speed things up?

Re: performance: Whats the fastest way to resize and resampl

Posted: Tue Jan 30, 2007 8:48 am
by xnview
daniel wrote: Now i'm using:

Code: Select all

nconvert -out png -o output_image.png -ratio -resize 400 0 input_image.jpg
I've tried:

Code: Select all

nconvert -out png -o output_image.png -ratio -rtype quick -resize 400 0 input_image.jpg
which is even slower.
Any idea how to speed things up?
Strange that quick is slower, but the process can be quicker if i add a thumb_size as option. For jpeg it is better to load on the fly a reduced picture (as xnview).

Posted: Tue Jan 30, 2007 11:56 am
by daniel
How does that work?
Do I add -thumb_size to my command? I couldn't find the thumb_size as a parameter listed with the -help flag. Where do I put it? Is this documented anywhere?

Posted: Tue Jan 30, 2007 2:39 pm
by xnview
daniel wrote:How does that work?
Do I add -thumb_size to my command? I couldn't find the thumb_size as a parameter listed with the -help flag. Where do I put it? Is this documented anywhere?
No i means if i add this command... Currently there is no such option...

Posted: Tue Jan 30, 2007 4:51 pm
by daniel
ah, i understand :)
well would definetly be nice to have. Due to your fast resizing capabilities nconvert might have a big future in the web server business. If you get the last edge of performance out of it, especially concerning thumbnails generating, this gonna be the way to go.

Posted: Tue Feb 06, 2007 10:35 am
by xnview
daniel wrote:ah, i understand :)
well would definetly be nice to have. Due to your fast resizing capabilities nconvert might have a big future in the web server business. If you get the last edge of performance out of it, especially concerning thumbnails generating, this gonna be the way to go.
Could you send me an email or PM, i would like to send you a test version...

Re: performance: Whats the fastest way to resize and resampl

Posted: Tue May 18, 2010 10:03 am
by Arvind
Hi,
Is this thumb size option implemented in higher versions of nConvert?
If yes, how do you use it?
Could you explain with an example?

Thanks
arvind