Review Request: double check the mimetype of images

Boudewijn Rempt boud at
Mon Apr 9 11:20:02 UTC 2012

This is an automatically generated e-mail. To reply, visit:

Review request for Calligra.


Users apparently save png images with a .jpg extension or the other way around. Since kmimetype only ever really looks at the extension if it has one, that is not detected. This patch adds a check on content, and makes the content leading for the image mimetypes Krita supports.

This addresses bug 297656.


  libs/main/KoDocument.h 7cc8cd5 
  libs/main/KoDocument.cpp 775c2c6 




Boudewijn Rempt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the calligra-devel mailing list