jakar/qt-heif-image-plugin

Limit file type brands supported

Closed this issue · 2 comments

jakar commented

We should limit the brands supported in IOHandler::canReadFrom() to what libheif supports, which appears to be heic and mif1.

jakar commented

There current values were taken from here.

jakar commented

I no longer think that it's a good idea to change this. I was able to open a file with a brand of msf1.

The linked source above is for writing (not reading). And where it matters, all compatible brands are checked, not just the major brand.