imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailscaletask.cpp
equal
deleted
inserted
replaced
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 ); |