The format of the image is jpeg, I also tried to set image size before; but this time a white screen is displayed instead....

Sorry, what's "allocating on the heap" ?

And actually i made it work by using a QDatastream and a QImage(i put the jpeg stream in a temp file then displayed )... But it was slow...

By the way, thanks for your replies...i ask for more...