PDA

View Full Version : Max size of image file



Astrologer
28th April 2010, 11:46
Hi there. I am trying to load an image size of 55 megabytes , jpeg. But while trying to define image's width and height, it doesn't.
Actual height and width are 11471 and 14260 respectively.


QImage* initial_image = new QImage(QString(input_jpg_name));
int old_height = initial_image->height();//return 0
int old_width = initial_image->width();//return 0


Is it the fact that QImage can't handle big images? With smaller ones (I tried) it works just fine. Thank you in advance.

Astrologer
28th April 2010, 13:39
But QImageReader does read dimensions.