How can I upload only the title so that I can know the size of each image?
It seems like you assumed that the header of the image file (the first few bytes) contains the size of the image. This fails (at least not for all types of image format). I checked it for several formats (PNG).
Currently, I find that it takes a lot of CPU / memory and I / O to load them all into memory just for size
, ~ 200 , . , . , , . , , ~ 200 , , .
QImage, , ?
, , / . , , , , . , ( ).