The KDE Community

KImageFormats

Plugins to allow QImage to support extra file formats.

KImageFormats Introduction

This framework provides additional image format plugins for QtGui. As such it is not required for the compilation of any other software, but may be a runtime requirement for Qt-based software to support certain image formats.

KImageFormats Formats

The following image formats have read-only support:

  • Gimp (xcf)
  • OpenEXR (exr)
  • Photoshop documents (psd)
  • Sun Raster (ras)

The following image formats have read and write support:

  • Encapsulated PostScript (eps)
  • Personal Computer Exchange (pcx)
  • SGI images (rgb, rgba, sgi, bw)
  • Softimage PIC (pic)
  • Targa (tga): supports more formats than Qt's version
  • XView (xv)

KImageFormats Contributing

See the QImageIOPlugin documentation for information on how to write a new plugin.

The main difference between this framework and the qimageform ats module of Qt is the license. As such, if you write an imageformat plugin and you are willing to sign the Qt Project contributor agreement, it may be better to submit the plugin directly to the Qt Project.

Note that the imageformat plugins provided by this module also provide a desktop file. This is for the benefit of KImageIO in the KDE4 Support framework.

KImageFormats Duplicated Plugins

The TGA plugin supports more formats than Qt's own TGA plugin; specifically, the one provided here supports indexed, greyscale and RLE images (types 1-3 and 9-11), while Qt's plugin only supports type 2 (RGB) files.

The code for this cannot be contributed upstream directly because of licensing. If anyone were willing to write fresh code to improve Qt's TGA plugin, it would allow the TGA plugin in this framework to be removed.

KImageFormats License

This framework is licensed under the LGPLv2.1.

The CMake code in this framework is licensed under the BSD license.

By clicking button above, I agree Marketplace user terms and conditions

Reviews
Details
Version:
5.62.0
Publisher:
The KDE Community
Contact:
kde-devel@kde.org
Copyright:
The KDE Community
Authors:
KDE Community
From:
https://api.kde.org/frameworks/index.html
License:
LGPL v2.1+
Created at:
2013-10-11
Updated at:
2019-09-14
Platforms:
Linux
Qt versions:
5.0 or newer
Support:
kde-devel@kde.org
Packages:
http://download.kde.org/stable/frameworks/5.62/kimageformats-5.62.0.tar.xz
Source repository:
https://projects.kde.org/projects/frameworks/kimageformats/repository