17.04.2018, 17:33, "Иван Комиссаров" <[email protected]>:
> 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)

FWIW, hardware decoding of JPEG is usually supported by devices featuring 
hardware video decoding support.

>
> 2018-04-17 14:28 GMT+03:00 Giuseppe D'Angelo <[email protected]>:
>> 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?
>>
>> Cheers,
>>
>> --
>> Giuseppe D'Angelo | [email protected] | 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
> ,
>
> _______________________________________________
> Development mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/development


-- 
Regards,
Konstantin
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to