Go to file
Ahmad Samir f5d574b3ad clang-tidy: one declaration per line; braces around statements
clang-tidy checks:
readability-isolate-declaration and readability-braces-around-statements

KF task: https://phabricator.kde.org/T14729

GIT_SILENT
2021-08-13 15:13:21 +02:00
autotests clang-tidy: one declaration per line; braces around statements 2021-08-13 15:13:21 +02:00
LICENSES Adapt license to LGPL-2.0-or-later 2020-07-21 09:26:47 +00:00
src clang-tidy: one declaration per line; braces around statements 2021-08-13 15:13:21 +02:00
tests test: imageconverter: add a way to list mimes instead of formats 2021-04-05 09:44:03 +00:00
.git-blame-ignore-revs clang-tidy: one declaration per line; braces around statements 2021-08-13 15:13:21 +02:00
.gitignore GIT_SILENT Add auto generated files to .gitignore 2021-05-02 12:48:16 +02:00
CMakeLists.txt GIT_SILENT Upgrade ECM and KF version requirements for 5.85.0 release. 2021-07-14 22:32:29 +00:00
metainfo.yaml Add FreeBSD to metainfo.yaml. 2016-12-06 19:06:09 +01:00
README.md Add plugin for animated Windows cursors (ANI) 2021-01-03 08:49:10 +00:00

KImageFormats

Plugins to allow QImage to support extra file formats.

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.

Formats

The following image formats have read-only support:

  • Animated Windows cursors (ani)
  • Gimp (xcf)
  • OpenEXR (exr)
  • Photoshop documents (psd)
  • Sun Raster (ras)

The following image formats have read and write support:

  • AV1 Image File Format (AVIF)
  • 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)

Contributing

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

The main difference between this framework and the qimageformats 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.

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.

License

This framework is licensed under the LGPLv2.1.

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