lundi 20 avril 2015

Qt/QML. A way to learn image size without load


The problem is as follows: I have a set of images (url addresses). Some of them are of acceptable size, but some are too big. When I load it, app crashes because of big images. Is there a way to learn image size (megabytes) preliminarly? This way I can remove large images from the list, avoiding it to be loaded.

Thanks for attention.

Aucun commentaire:

Enregistrer un commentaire