Go to file
Alex Merry 3d45b270ea Disable the DDS and JPEG-2000 plugins when Qt version is 5.3 or later
QtImageFormats 5.3 comes with DDS and JPEG-2000 plugins that support
more options and are generally better than our plugins. The only
advantage our plugins offer is that the Qt DDS plugin does not work on
sequential devices, while ours does. This is outweighed by other
improvements, though, such as supporting more variants.

REVIEW: 119590
2014-08-04 22:50:37 +01:00
autotests Rewrite the PIC image format handler 2014-05-04 13:42:30 +01:00
src Disable the DDS and JPEG-2000 plugins when Qt version is 5.3 or later 2014-08-04 22:50:37 +01:00
tests Extract QImage::Format parsing into its own header 2014-03-05 12:10:31 +00:00
.reviewboardrc Add myself to the standard list of people to review changes 2014-01-11 19:07:23 +00:00
CMakeLists.txt Disable the DDS and JPEG-2000 plugins when Qt version is 5.3 or later 2014-08-04 22:50:37 +01:00
COPYING.LIB Move kimageformats code to the root directory. 2013-12-18 00:45:18 +00:00
metainfo.yaml Update metainfo.yaml's short description and platform notes 2014-05-16 17:07:10 +01:00
README.md Move license information to its proper locations 2014-02-04 12:30:22 +00:00

KImageFormats

Image format plugins for Qt

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:

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

The following image formats have read and write support:

  • Encapsulated PostScript (eps)
  • JPEG-2000 (jp2)
  • 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.