KImageIO::mimeTypes and SVG/SVGZ Files

David Faure faure at kde.org
Wed Aug 31 16:55:36 BST 2011


On Wednesday 31 August 2011 16:14:34 Martin Koller wrote:
> On Wednesday, 31. August 2011 14:03:57 Allan Sandfeld Jensen wrote:
> > You should remember to also make the compressed type a subtype of the
> > correct compressed archive type. This way the file can be recognized
> > and decompressed even if no direct image/svg+xml-compressed handler is
> > registered.
> Hmmm... not sure if I understand.
> In the shared-mime-info database file
> /usr/share/mime/image/svg+xml-compressed.xml
> there is already
>   <sub-class-of type="application/x-gzip"/>
> 
> Is this information not used already ?

Yes.
I think Allan too, confused a "kimgio plugin description file" with a 
"mimetype definition file" :-)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).





More information about the kde-core-devel mailing list