I note that some image format such as .png and .gif have not a bounding rect(not all kind of images in this format has not a bounding rect).....

How can i give them one bounding rect?
I import them such QImage file, then I resized them and use the static function QPixmap::fromImage() to transform them into Qpixmap object.....