Überarbeitung

Gramatik
Laden Bilder
This commit is contained in:
AshBastian
2019-12-04 14:54:20 +01:00
parent 8b88626cdf
commit 32df5b59a5
31 changed files with 5243 additions and 31 deletions

View File

@@ -19,8 +19,10 @@ bool IntelliImage::loadImage(const QString &fileName){
if (!loadedImage.load(fileName))
return false;
loadedImage =loadedImage.scaled(imageData.size(),Qt::IgnoreAspectRatio);
imageData= loadedImage.convertToFormat(QImage::Format_ARGB32);
// scaled Image to size of Layer
// loadedImage = loadedImage.scaled(imageData.size(),Qt::IgnoreAspectRatio);
imageData = loadedImage.convertToFormat(QImage::Format_ARGB32);
return true;
}