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

2015-07-20 Thread maitai
Hello again, FYI there is no such thing as Qt::SmoothScale in QPainter::drawImage or QPainter::drawPixmap so I ended up with something like: QPixmap pixscaled(QSize(scaleX, scaleY)); if(scaleX pix.width() || scaleY pix.height()) { pixscaled.fill(Qt::transparent);

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

2015-07-20 Thread Allan Sandfeld Jensen
On Monday 20 July 2015, maitai wrote: Hello again, FYI there is no such thing as Qt::SmoothScale in QPainter::drawImage or QPainter::drawPixmap so I ended up with something like: Yes, that I why I wrote something like. I hadn't looked up the exact arguments. QPixmap

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

2015-07-19 Thread maitai
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

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

2015-07-19 Thread Allan Sandfeld Jensen
On Sunday 19 July 2015, maitai wrote: Arf... Only solution is to go back to 5.4.2 for iOS? It should be fixed by 5.5.1, if you need smooth-scaling before then and can not build a new Qt binary, you can either overallocate the from image by one pixel or scale using the painter, something

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

2015-07-19 Thread Allan Sandfeld Jensen
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

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

2015-07-19 Thread maitai
Arf... Only solution is to go back to 5.4.2 for iOS? Le 19-07-2015 22:03, Allan Sandfeld Jensen a écrit : 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,

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

2015-07-19 Thread maitai
Ok, it's good there is a workaround Thank you very much Le 19-07-2015 23:16, Allan Sandfeld Jensen a écrit : On Sunday 19 July 2015, maitai wrote: Arf... Only solution is to go back to 5.4.2 for iOS? It should be fixed by 5.5.1, if you need smooth-scaling before then and can not