convertToQImage still does not work correctly
Michael Thaler
michael.thaler at ph.tum.de
Mon Jan 17 19:57:09 CET 2005
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
More information about the kimageshop
mailing list