sandsmark / qeh

feh, but better
15 stars 1 forks source link

DDS support #1

Open RoseHobgoblin opened 2 years ago

RoseHobgoblin commented 2 years ago

Not many image viewers available for Linux support .dds files, perhaps this one could. Alternatively it could utilise a plugin for viewing .dds files, though I am unaware of one's existance.

nicopap commented 1 year ago

For context, DDS is a compressed image format intended for GPU rendering. hmm, I'm not well versed in Qt or C++, but I can give this a try.

nicopap commented 1 year ago

Looks like .dds is supported natively by Qt. It's just that in the default distribution, the feature is turned off. It seems QEH relies entirely on the system's shared Qt library for its need, so I suspect you would need to fork your system's QT package and add the dds format to the QT compile flags. hmm. I'll do some more research maybe I can give more precise instructions.

More details in this forum thread: https://forum.qt.io/topic/115239/how-to-display-dds-files