void TransformJob::threadedStart() { if (!checkDocumentEditor()) { return; } document()->editor()->applyTransformation(mOrientation); setError(NoError); }
virtual void threadedStart() { if (!checkDocumentEditor()) { return; } QImage image = document()->image(); image = image.scaled(mSize, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); document()->editor()->setImage(image); setError(NoError); }
void threadedStart() { if (!checkDocumentEditor()) { return; } QImage img = document()->image(); RedEyeReductionImageOperation::apply(&img, mRectF); document()->editor()->setImage(img); setError(NoError); }