[Interest] Loading compressed SVG in QWebView

Till Oliver Knoll till.oliver.knoll at gmail.com
Thu May 31 13:09:38 CEST 2012


Am 31.05.2012 um 09:00 schrieb Yves Bailly <yves.bailly at sescoi.fr>:

> ...
>  If the image is compressed ("*.svgz"), it seems QWebView
> is unable to display it correctly.

Is QWebView supposed to be able to display compressed SVG? Or is this an assumption?


> To be more precise, this works nicely:
> 
> QByteArray image_data = /* some external source I know nothing about */

Is it maybe possible to peek at the first few bytes as to decide whether it's compressed data?

Cheers, Oliver


More information about the Interest mailing list