summaryrefslogtreecommitdiffstats
path: root/tests/shared/images
Commit message (Collapse)AuthorAgeFilesLines
* TIFF: add an autotest for CMYK imagesGiuseppe D'Angelo2024-04-082-0/+1
| | | | | | | | This work has been kindly sponsored by the QGIS project (https://qgis.org/). Change-Id: I09cf744f1b8c907a296a8525ec11a4980282d743 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update HEIF test imageTor Arne Vestbø2022-09-131-0/+0
| | | | | | | | | | | | | The original image stopped working on macOS 13 Ventura, both with our image plugin and in Preview. It's unclear why the original image works fine in Preview on macOS 12, but that's an Apple bug, and our image plugin tests should not have to worry about platform differences like that. Task-number: QTBUG-104210 Pick-to: 6.4 6.2 Change-Id: If57fce379a2d9bcb92757e3f2f7e903b079e700b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove unused .qrc filesJoerg Bornemann2022-01-186-93/+0
| | | | | | | Task-number: QTBUG-94446 Change-Id: I10e6f70d91bf74b13fe6713f2af5cc11a36e7e2b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add support for reading BigTIFFEirik Aavitsland2019-12-205-0/+4
| | | | | | | | | | | All recent versions of libtiff has support for the 64bit-indexed BigTIFF format. Allow reading it by recognizing its magic number. [ChangeLog][TIFF] Add support for reading BigTIFF Fixes: QTBUG-80538 Change-Id: I7fcb72d77e4a0bdcb38ab96e9f6cfaff7cf4ad49 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-03-272-0/+1
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ie44fe655653166bf5a4436aedd80d060afa45d5a
| * Heic handler: fix orientation and other image propertiesEirik Aavitsland2019-03-262-0/+1
| | | | | | | | | | | | | | | | | | | | The mac heic handler lacked support for any meta-data i/o. Most notably, the image orientation proprty was ignored, so images read in could be wrongly oriented. Fixes: QTBUG-73415 Change-Id: I779f91dc28c7441b124aab4557e1abcd3e69fde9 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* | Add Grayscale16 support to TIFFAllan Sandfeld Jensen2019-01-032-0/+1
|/ | | | | Change-Id: I927d9ab0af78baf90d8fd8d44088218dff0e7082 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Add RGBA64 format support to TIFF pluginAllan Sandfeld Jensen2018-08-232-0/+1
| | | | | | | TIFF is one of the primary formats for HDR images. Change-Id: I5310b5c9a625fd3e759e5120be6ba547c633c81c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Add native Darwin handler for the HEIF (.heic) formatEirik Aavitsland2017-10-302-0/+5
| | | | | | | | | | | Adds basic support for still images encoded with the HEIF standard introduced in macOS Sierra and IOS 11. Uses the Core Graphics Image I/O Framework as codec backend. Reuses the helper class from the macjp2 handler. Change-Id: I5f0c7891b189a916cccd2c27eacbac12416ce209 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Extend support for tiled tiff files to all color formatsv5.9.0-beta3v5.9.0-beta2v5.9.0-beta1Eirik Aavitsland2017-03-1612-2/+9
| | | | | | | | | | | | | | | This commit extends the recently added support for tiled tiff images of color index format to also cover grayscale and mono images. RGB images were already covered, since the libtiff API used for those handles tiled images transparently. This commit also simplifies the tiff read() function by sharing common code among the different formats. [ChangeLog][TIFF] Extend support for tiled tiff files to all color formats Change-Id: I13f94bbca65dd6a35384a415906034e245ad8b79 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add support for tiled, color indexed tiff filesEirik Aavitsland2017-03-153-0/+2
| | | | | | | | | | | | For color index images, the tiff handler uses scanline based reading. The tiff decoder does not support that if the image is stored in tiled format. This commit adds tile based reading for such cases. [ChangeLog][TIFF] Added support for tiled, color indexed tiff files Task-number: QTBUG-12636 Change-Id: Ic759903c75c8252267429f01e3dd9706fc516f8f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add support for multipage TIFF images to QTiffHandlerv5.9.0-alpha1Sandro Mani2017-01-252-0/+1
| | | | | | | | | | | Allows multipage TIFF images to be read via QImageReader::jumpToImage and QImageReader::jumpNextToImage. [ChangeLog][QtGui][QImageReader] Support multipage TIFF images through QImageReader Change-Id: Id6ac68b75500148e51be11eff3d296c929d2d95c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Renamed A8R8G8B8_2.dds to A8R8G8B8.2.dds.Ivan Komissarov2014-08-052-1/+1
| | | | | | | | This fix is needed for further patch to be able to get image format (subtype) from filename. Change-Id: I0de72be6c8d1942e6ad63c4d131bd380379a5417 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Merge remote-tracking branch 'origin/5.3' into devFrederik Gladhorn2014-07-292-0/+1
|\ | | | | | | Change-Id: I15c1f7d4fd700c04f3f27720fc79abd3827eeeed
| * Fix DDS image writingaavit2014-07-012-0/+1
| | | | | | | | | | | | | | | | | | The code did not correctly do the 90-degree rotation needed for DDS, and would fail on non-square images. Task-number: QTBUG-39899 Change-Id: I1599e3fe44ff7895db8aa6e325fa8fdba2106694 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* | Add support for reading icon variants in ICNS pluginAlex2014-02-262-0/+1
|/ | | | | | | | Change-Id: I68395ac4e9604d852405643710aa79585974b3e3 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add JPEG 2000 plugin.Jake Petroules2014-02-113-0/+6
| | | | | | | | It is moving from Qt Solutions. Change-Id: Ie0dc44d258597f871544fa43238528f42628b799 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Fix reading palette images in DDS handler.Ivan Komissarov2014-01-133-0/+1
| | | | | | | Change-Id: I039a5f3376a8ebe7230f30a0df31c4a355f22349 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Alex Char <prevedtest@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add ICNS (Apple Icon Image) plugin.Alex2013-12-1712-0/+15
| | | | | | | | | Change-Id: I98f79d781e5986ee5602438e02d761c7f5a77217 Reviewed-by: Ivan Komissarov <ABBAPOH@me.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Add Direct Draw Surface pluginABBAPOH2013-11-2649-0/+52
| | | | | | Change-Id: I8dfa6001c1aae2dcb5f2e6e0bfd142ef1f9dddbc Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add wbmp pluginaavit2012-03-013-0/+6
| | | | | | | | | | | This is a port to Qt 5/qtimageformats of the contribution https://qt.gitorious.org/qt/qt/merge_requests/1117 by Dmitry Zelenkovskiy <Dmitry.Zelenkovskiy@nokia.com> Change-Id: I9cdd249d3c58c5f922ccd2d43f92f1bd2e3fd86f Reviewed-by: Jason Barron <jason.barron@nokia.com> Reviewed-by: aavit <qt_aavit@ovi.com>
* Move tga support from Qt3d to QtImageFormats.Toby Tomkins2012-02-082-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rev-By: Samuel Rodal Fix-for: QTBUG-21955 Part of fix for https://bugreports.qt.nokia.com/browse/QTBUG-21955 Having tga plugin inside a Qt add-on causes packaging problems. There have been many queries over the years for tga support even tho it is a niche image format. It is particularly useful for OpenGL work as a texture format since it is a blittable bitmap, but it is very innefficient compared to png or jpg. For this reason only read support is added, and this is documented. Also add one unit test. (based on cherry picked from Qt 4.8 commit 951a997893407b0a26f21fe0acec4701fa3d4279) Adds code removed from Qt3D. http://codereview.qt-project.org/#change,13898 Conflicts: tests/auto/qimagereader/qimagereader.pro tests/auto/qimagereader/tst_qimagereader.cpp Change-Id: Ia1b7420dd3461cb1d2f1d857d11444a0a533de43 Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Add TIFF pluginKent Hansen2012-02-0141-0/+44
| | | | | | | | | Moved out from qtbase. Task-number: QTBUG-23887 Change-Id: I57d30173e6624d41dba1610084a7ed949ae84d1d Reviewed-by: aavit <qt_aavit@ovi.com> Sanity-Review: Kent Hansen <kent.hansen@nokia.com>
* Long live the qtimageformats moduleKent Hansen2012-01-256-0/+9
This module contains plugins for image formats that aren't part of the "core" (qtbase) offering, starting with mng. Task-number: QTBUG-21869 Change-Id: I85e51ed6f84c07419b1676f9def234c36f10141f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: aavit <qt_aavit@ovi.com>