diff -r 473df7bf149f -r 977400b0f773 imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailserversession.cpp --- a/imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailserversession.cpp Thu Sep 02 20:45:11 2010 +0300 +++ b/imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailserversession.cpp Fri Sep 17 08:32:20 2010 +0300 @@ -852,7 +852,8 @@ TSize bitmapSize = bitmap->SizeInPixels(); - for ( TInt i( 0 ); i < count; i++ ) + // scale small thumbs first, because fullscreen encoding takes longer + for ( TInt i( count-1 ); i >= 0; i-- ) { if( bitmapSize.iWidth < bitmapSize.iHeight ) { @@ -861,7 +862,8 @@ if ( size == EFullScreenThumbnailSize || size == EVideoFullScreenThumbnailSize || size == EAudioFullScreenThumbnailSize || - size == EImageFullScreenThumbnailSize ) + size == EImageFullScreenThumbnailSize || + size == EContactFullScreenThumbnailSize ) { TInt height = (*missingSizes)[i].iSize.iHeight; (*missingSizes)[i].iSize.iHeight = (*missingSizes)[i].iSize.iWidth;