[Development] Imageformats v2

Иван Комиссаров abbapoh at gmail.com
Fri May 22 11:48:34 CEST 2015


For now, i moved mipmaps into ImageResource
+ the Document is just an array of resources now (with 1 element for jpeg,
png, ico, icns; multiple for gif)
+ in the simplest case (jpeg, png) Document has 1 Resource with 1 image in
it.
+ in the case of icns/ico Resource is a 1d array of mipmaps
- in the complex case of DDS Resource is a 2D array. Well, DDS is complex
itself:))
- reading DDS is a bit weird - we can't read parts of document separately
as Mipmaps are on the top level.
+ still, we can read Gif incrementally

Code is located in mipmaps branch
https://github.com/ABBAPOH/imagedocument/blob/mipmaps/src/lib/imageresource.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150522/f9aac0a9/attachment.html>


More information about the Development mailing list