[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: convertToQImage still does not work correctly
From: Michael Thaler <michael.thaler () ph ! tum ! de>
Date: 2005-01-17 18:57:09
Message-ID: 200501171957.09122.michael.thaler () physik ! tu-muenchen ! de
[Download RAW message or body]
Hello,
I just tried the new version of convertToQImage and it does crash Krita:
I used the following code:
void KisRainDropsFilter::process(KisPaintDeviceSP src, KisPaintDeviceSP dst,
KisFilterConfiguration* configuration, const QRect& rect, KisTileCommand*
ktc)
{
kdDebug() << "Raindropsfilter 2 called!\n";
QImage img = src->convertToQImage(0);
Q_INT32 width = img.width();
Q_INT32 height = img.height();
kdDebug() << "width:" << width << " heigth:" << height << "\n";
...
}
and get the following output:
krita: no color strategy
krita: no color strategy
krita: Raindropsfilter 2 called!
krita: width:-2090526348 heigth:3133
KCrash: Application 'krita' crashing...
Sorry, I don't have time to fix this, right now...
Michael
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic