I don't understand why you guys consider an undefined size to be invalid, the documentation of Qt is quite clear in that it is a valid size
****
sourceSize can be cleared to the natural size of the image by setting sourceSize to undefined.
****
So yes I want the natural size of the image if i can't find out what's the aspect ratio of the image. Besides it's weird because you complain for undefined but for 0x0 you give me a thumbnail just fine.
I don't understand why you guys consider an undefined size to be invalid, the documentation of Qt is quite clear in that it is a valid size
****
sourceSize can be cleared to the natural size of the image by setting sourceSize to undefined.
****
So yes I want the natural size of the image if i can't find out what's the aspect ratio of the image. Besides it's weird because you complain for undefined but for 0x0 you give me a thumbnail just fine.