[Interest] QPixmap or QImage::scaled() crash on iOS with smoothTransformation

Allan Sandfeld Jensen kde at carewolf.com
Sun Jul 19 22:03:02 CEST 2015

On Sunday 19 July 2015, maitai wrote:
> Hello,
> Using QT 5.5.0, I have a program that does some mass images rescaling
> (let's say 60 images to rescale from 256x256 to 1370x1370, sequentially
> in the same thread). This is running fine on windows, android, linux and
> mac os. It crashes after some pictures in the loop on iOS. It does not
> crash if I specify Qt::FastTransformation instead of
> Qt::SmoothTransformation (non retina display). The crash occurs on all
> iOS devices I tested.
> It seems to me that it does not crash if the scaling is less important
> (say from 256 to 300), but I need to do more testing to be sure.
> Is there something useful to know about smoothTransformation and iOS
> before I open a qt bug?
Already opened: https://bugreports.qt.io/browse/QTBUG-47228

The fix should be simple enough.


More information about the Interest mailing list