hai, i am resizing the image with scaled function, but it is beeing with the ame size only. i want to decrese size of the image, so that they will take less memory.
i am displaying 1000 images on scene so it is taking more memory because of ths issue. how i have to reduce the sie of Qimage and display them on scene as a thumbnile .

Qt Code:
  1. QImage image = tempImage; // is 1025*724
  2. image.scaled(50,50,Qt::KeepAspectRatio);
  3. item = new QGraphicsPixmapItem(QPixmap::fromImage(image));
  4. scene->addItem(item);
To copy to clipboard, switch view to plain text mode 

after scaling it still the image size is same as old temp image size only.