summaryrefslogtreecommitdiffstats
path: root/kimgio/jp2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for YCbCr imagesissue/51/jasper-to-openjpegmio2024-09-191-1/+466
| | | | | | | | | The code has been adopted from the OpenJPEG project: https://github.com/uclouvain/openjpeg/blob/master/src/bin/common/color.c Full credits to the authors. Signed-off-by: mio <stigma@disroot.org>
* JP2: combine sRGB and Grayscale reading functionsmio2024-09-191-61/+56
| | | | Signed-off-by: mio <stigma@disroot.org>
* Use OpenJPEG to read JP2 images.mio2024-09-191-8/+315
| | | | | | | | | | | | | | | | | TDE currently uses an out-of-date Jasper for JPEG-2000 images. While updating to use a newer version of Jasper is possible, Debian and its derivated (i.e. Ubuntu, Devuan) don't package it. This means TDE is responsible for packaging Jasper and providing security updates. OpenJPEG on the other hand, is provided by all distrobutions that TDE officially supports, has a more stable API/ABI, and receives more frequent updates by various contributors. Currently, this doesn't have feature parity with the Jasper implementation. These limitations are listed in the 'jp2.cpp' file and should be addressed before this is pulled into a release branch. Signed-off-by: mio <stigma@disroot.org>
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-011-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-251-1/+1
| | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add support for Jasper 3.x.Slávek Banko2022-04-271-0/+9
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* fix FTBFS, error: ‘dup’ was not declared in this scopegregory guy2020-07-301-1/+1
| | | | Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Change to define __STDC_LIMIT_MACROS firstOBATA Akio2019-01-251-5/+5
| | | | | <stdint.h> (or other system headers handling the macro) may be included indirectly from other header files (<sys/types.h> is a reasonable one).
* kimgio: Enable STDC_LIMIT_MACROS for jasperSlávek Banko2017-01-031-0/+3
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Rename additional header files to avoid conflicts with KDE4Timothy Pearson2013-02-151-1/+1
|
* Remove additional unneeded tq method conversionsTimothy Pearson2011-12-191-3/+3
|
* Rename old tq methods that no longer need a unique nameTimothy Pearson2011-12-181-2/+2
|
* Revert "Rename a number of old tq methods that are no longer tq specific"Timothy Pearson2011-12-161-3/+3
| | | | This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
* Rename a number of old tq methods that are no longer tq specificTimothy Pearson2011-12-151-3/+3
|
* Allow kdelibs to function correctly with TQt for Qt4tpearson2011-02-151-1/+1
| | | | git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Initial conversion for TQt for Qt4 3.4.0 TP2tpearson2011-01-131-8/+8
| | | | | | | | This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Revert automated changestpearson2011-01-071-6/+6
| | | | | | | | Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1tpearson2011-01-031-6/+6
| | | | | | | NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Trinity Qt initial conversiontpearson2010-07-311-26/+26
| | | | git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.toma2009-11-251-0/+316
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da