imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailscaletask.cpp
branchRCL_3
changeset 28 ff2fb7658ff7
parent 11 dea39715fc05
child 38 2b4b06654caa
equal deleted inserted replaced
24:f0aa341a25bf 28:ff2fb7658ff7
   132 
   132 
   133     CThumbnailTask::StartL();
   133     CThumbnailTask::StartL();
   134 
   134 
   135     if ( !iCrop )
   135     if ( !iCrop )
   136         {
   136         {
       
   137         TN_DEBUG2( "CThumbnailScaleTask(0x%08x)::StartL() - cropping OFF", this );
       
   138     
   137         // target size at max, keep aspect ratio
   139         // target size at max, keep aspect ratio
   138         CalculateTargetSize();
   140         CalculateTargetSize();
   139         }
   141         }
   140     else
   142     else
   141         {
   143         {
       
   144         TN_DEBUG2( "CThumbnailScaleTask(0x%08x)::StartL() - cropping ON", this );
       
   145     
   142         // exact target size, crop excess
   146         // exact target size, crop excess
   143         CalculateCropRectangle();
   147         CalculateCropRectangle();
   144         }
   148         }
   145     
   149     
   146     TN_DEBUG2( "CThumbnailScaleTask(0x%08x)::StartL() - sizes calculated", this );
   150     TN_DEBUG2( "CThumbnailScaleTask(0x%08x)::StartL() - sizes calculated", this );