[Development] qdds image format
abbapoh at gmail.com
Tue Apr 17 16:33:22 CEST 2018
At the point i wrote the plugin, my usecase was simple - to convert plain
QImages to and from DDS icons (used in starcraft2, which uses quite a few
formats DDS can handle).
But yes, i forgot floating point textures.
Compressed textures (DXTN/ATI2) are just compressed (a)rgb32, nobody uses
compressed jpeg, it is decompressed before usage (correct me if i'm wrong,
but videocards uses DDS because it's decompression algorithm can be easily
implemented in hardware)
2018-04-17 14:28 GMT+03:00 Giuseppe D'Angelo <giuseppe.dangelo at kdab.com>:
> On 17/04/18 13:21, Иван Комиссаров wrote:
>> Ok, there's another problem with QImage - ARGB64 and friends... This can
>> be solved adding QImage::pixel64() or something like that... or use
>> QTexture with 64bit "pixel"
> And a bunch of packed formats not currently supported, and floating point
> channels, and compressed texture formats. I stand my point: DDS files are
> not meant to be handled by QImage.
> What is your use case exactly for wanting this support?
> Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
> KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development