Commit Graph

62 Commits

Author SHA1 Message Date
Harald Kuhr bf245fde5f #330 ImageReaderBase.getDestination now throws IIOException for too large dimension/size.
(cherry picked from commit 0d5577a9a4)
2020-11-19 21:50:31 +01:00
Harald Kuhr bd3700ea59 ...and fix the broken test.
(cherry picked from commit 16caec4a22)
2020-11-19 21:49:50 +01:00
Harald Kuhr 8fccd9445f Minor improvements and better test cases.
(cherry picked from commit 08282ea09d)
2020-11-19 21:49:49 +01:00
Harald Kuhr 24271b8cad NetBPM clean-up, fixes and better tests.
(cherry picked from commit 0a9e2df5de)
2020-11-19 21:48:59 +01:00
Harald Kuhr 9e1b01a7fd ImageWriterAbstractTest refactorings.
(cherry picked from commit 6c34fb211f)
2020-11-19 21:48:55 +01:00
Harald Kuhr 769acc8726 ImageReaderAbstractTest refactorings.
(cherry picked from commit 9fdbc3b1fc)
2020-11-19 21:48:15 +01:00
Harald Kuhr 1ace3a6d5f Getting rid of more JUnit deprecation.
(cherry picked from commit 622c6f40d4)
2020-11-19 21:44:36 +01:00
Harald Kuhr a06eb53cd2 Dependabot broke my build...
(cherry picked from commit 107da17ca9)
2020-11-19 21:44:36 +01:00
Harald Kuhr 15c7cfe9a6 Code clean-up.
(cherry picked from commit a7ebc1b52f)
2020-11-19 21:39:58 +01:00
Harald Kuhr 8f942922fd #547 BMPImageWriterSpi now only claims to write TYPE_4BYTE_ABGR, and registers with low pri.
Better exception message for other image types.
2020-06-28 11:50:17 +02:00
Harald Kuhr 42e17f2063 #501: Fix for TYPE_USHORT_555/565_RGB, ColorModel now 16 bits 2019-10-11 16:56:00 +02:00
Harald Kuhr 0c2433dc9f #289, #493: Finally implemented subsampling for < 8 bit samples 2019-08-29 19:11:14 +02:00
Harald Kuhr 9ce1a86cae #398: Better exception message when BufferedImage size > Integer.MAX 2019-08-09 19:52:07 +02:00
Harald Kuhr a7b374e51a #311 Updated some more license headers that was left out in the initial change. 2018-09-07 21:07:08 +02:00
Harald Kuhr 24c6682236 #311 Updated license headers to be the same as in the LICENSE.txt 2018-08-18 19:22:52 +02:00
Harald Kuhr 27fcd495db Added dispose() of reader after reading. 2018-08-18 12:52:53 +02:00
Harald Kuhr 961dee3d41 #421: Fix for LCMS profile issue, due to LCMS altering the profile header on first use (ie. validation). 2018-04-06 20:45:38 +02:00
Harald Kuhr a81472bb5f #414: Fix for BufferedImageInputStream alignment/partial read issues.
Bonus clean-up of tests.
2018-03-22 13:27:40 +01:00
Harald Kuhr fb3c5f8440 Added test case for RGB JPEG
+ fixed an issue in getImageTypes to avoid incompatible conversion.
2018-01-05 12:49:54 +01:00
Harald Kuhr 719b6e7883 Made test case more robust when running headless on Windows. 2017-11-18 14:25:15 +01:00
Harald Kuhr b68848f58f #386 Fixed ColorSpaces ICC profile caching bug pt II 2017-11-18 14:20:40 +01:00
Harald Kuhr d677141ab7 #386 Fixed ColorSpaces ICC profile caching bug 2017-11-05 11:44:41 +01:00
Harald Kuhr a15e69e019 #374 Added support for TIFF 32 bit float Grayscale 2017-10-16 14:52:40 +02:00
Harald Kuhr e0b9bdef7e #280 Support for bitsPerSample == 6, 10, 12, 14 & 24 2016-11-16 18:52:39 +01:00
Harald Kuhr d4b3f3e04a #287 Support for TIFF with color map + discrete alpha channel. 2016-11-15 18:52:43 +01:00
Harald Kuhr 34eb084d24 #212 TIFF subsampling fix 2016-11-02 19:06:12 +01:00
Harald Kuhr c18893184b #228: TIFFImageWriter now correctly writes images with sample model translation. 2016-07-07 15:27:08 +02:00
Harald Kuhr 04a39158e5 #257, #229: Fixed LZW writing for < 8 bit, fixed StripByteCounts for uncompressed < 8 bit, disabled Predictor for < 8 bit.
Bonus rework of sequence writing and restored writing of uncompressed data for less fseeking.
2016-07-01 19:32:35 +02:00
Harald Kuhr 478ed62cd1 Refactoring, pulling assertRGBEquals method up. 2016-06-30 14:15:29 +02:00
Harald Kuhr f4b61820ac #267: Reads monochrome images with gray ICC profile. 2016-06-23 16:15:22 +02:00
Harald Kuhr e9388e55ec #260 ProviderInfo fix 2016-06-02 11:24:57 +02:00
Harald Kuhr c29f895337 #256 ImageTypeSpecifiers fix 2016-05-26 16:15:10 +02:00
Harald Kuhr 8a38b2fde6 #173 Support for PhotometricInterpretation 8/CIELab, 9/ICCLab and 10/ITULab 2015-10-22 21:35:10 +02:00
Harald Kuhr c913ef445b TMI-139: Support for writing TIFF files with custom resolution value. 2015-08-12 10:48:58 +02:00
Harald Kuhr e603ae260d TMI-64: Test case clean-up 2015-04-10 11:06:50 +02:00
Harald Kuhr 841ce5d26e Minor optimization: Disable disk caching for ImageReader tests. 2015-03-10 16:06:11 +01:00
Harald Kuhr 94ed531fb2 TMI-41: Better handling of ICC Color Profiles. Now using different strategies to "sanitize" profiles, depending on the Color Management System in use. 2015-01-07 15:25:45 +01:00
Harald Kuhr f588d65565 TMI-41: Fix for CorbisRGB special handling testcase JDK 1.7+ 2015-01-06 12:45:54 +01:00
Harald Kuhr 654f7e7a70 TMI-81: Support for 32 bit unsigned int color model.
Bonus: Cleaned up creation of ImageTypeSpecifiers and added tests.
2014-11-20 15:57:36 +01:00
Harald Kuhr 7634ca1261 Minor code clean-up. 2014-09-26 16:41:49 +02:00
Harald Kuhr 8c93be05a5 Better testing of source region reading. A few readers are failing for now, added @Ignore. 2014-09-26 15:59:19 +02:00
Harald Kuhr db259bff10 TMI-34: Handling of problematic Corbis RGB ICC profiles. 2014-02-06 22:45:35 +01:00
Harald Kuhr 38fa2189bc TMI-IIO: Removed some deprecation warnings. 2013-11-05 20:24:12 +01:00
Harald Kuhr f5a4fe03f4 TMI-15: Fixed some issues introduced in later JREs (at least 7u45). 2013-11-05 09:43:46 +01:00
Harald Kuhr 86921ad389 ImageReader subsampling test 2013-10-24 21:19:52 +02:00
Harald Kuhr 0e628f6e4c TMI-CORE: Added empty ICC profile locations for Linux.
+ Better exception handling for missing profile locations.
2013-06-05 09:58:32 +02:00
Harald Kuhr b8ff4af178 TMI-TIFF: Implemented workaround for a bug in ImageReader.getDestination() + added test case for ImageReaderBase. 2012-05-23 15:18:10 +02:00
Harald Kuhr 927723a472 Added support for offset/length in ByteArrayImageInputStream. 2012-04-16 10:19:15 +02:00
Harald Kuhr 0307237852 Better writer tests.
Fixed a bug in PICTWriter.
Minor changes in ImageReader/WriterBase classes.
2012-03-30 16:58:09 +02:00
Harald Kuhr cda19ece0d More tests. 2012-02-01 15:57:06 +01:00