K
K
kolomiec_artiom2018-05-09 02:13:41
Qt
kolomiec_artiom, 2018-05-09 02:13:41

TIF format in QT. How to display normally?

Good night friends!
There is an image in TIF format (Color depth - 16). I'm trying to display this image on the canvas using a label:

QLabel *label = new QLabel();
        label->setPixmap(fileName);
        label->show();

And nothing works. Just a black image. There are no problems with TIF24.
How can this problem be solved?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question