Commit Graph

80 Commits

Author SHA1 Message Date
Harald Kuhr
f8284700b4 #631 Attempt to fix tests for JDK 15 & 16 2021-12-11 22:38:42 +01:00
Harald Kuhr
38caeb22e0 #631 Introduced ColorProfiles. Profile activation through SPI to force early activation. 2021-12-11 18:58:25 +01:00
Harald Kuhr
b2c5915db8 #631 New way of forcing profile activation + guarding all invocations of ICC_Profile.getInstance() 2021-12-11 18:13:07 +01:00
Gauthier
5617b4323c Make tests pass on JDK 16 and 17 (#635)
* make tests pass on JDK 16 and 17
replace deprecated mockito-all by mockito-core, and updated to latest 3.x
replace deprecated org.mockito.Matchers

* code cleanup from IDE suggestions

* add oracle jdk 16 and 17 to Travis
2021-10-26 18:38:33 +02:00
Harald Kuhr
812e12acb0 #623: TGAImageReader, PCXImageReader and SGIImageReader now return more standard image types as default, for better AffineTransformOp compatibility. Added tests.
Bonus: Subsampling fix for TGAImageReader and BMPImageReader.
2021-09-07 09:29:13 +02:00
Harald Kuhr
105a1ee466 #621 Don't add ICC profile for default gray images 2021-08-31 22:16:08 +02:00
Harald Kuhr
1ddab866fd #617 BigTIFF write support. 2021-08-09 21:11:40 +02:00
Harald Kuhr
15a9ad0a9b #483 Initial PSD Write support 2021-05-06 00:01:54 +02:00
Harald Kuhr
4e2bf131d2 #606: Fix bug introduced by more aggressive readDirect. 2021-04-29 20:06:36 +02:00
Harald Kuhr
d0c4a07556 #606: Workaround for broken JDK WBMPImageReader 2021-04-29 16:55:24 +02:00
Harald Kuhr
419ffc9373 #573: Always return RAWImageType for JPEG.
+ Bonus: Fix luma to gray conversion
2021-04-10 11:44:09 +02:00
Harald Kuhr
3b34d6e7ce General clean-up 2021-03-27 14:37:11 +01:00
Harald Kuhr
85fb9e6af3 JPEG Exif/thumbnail refactoring 2021-02-26 17:13:16 +01:00
Harald Kuhr
6d192968d1 Fix SGI source subsampling + test optimizations. 2021-02-26 17:13:16 +01:00
Harald Kuhr
f5959af2e1 New stream SPIs now behave more like the built-in SPIs. 2021-02-26 17:13:16 +01:00
Harald Kuhr
ebaa69713f Deprecate for BufferedImageInputStream, now using buffered streams directly in all readers. 2021-01-11 22:07:31 +01:00
Harald Kuhr
8a1a90dafd Fix some corner cases in BufferedImageInputStream. 2021-01-11 21:44:14 +01:00
Harald Kuhr
73044bea58 #292 Now builds on Java 8, 11 and 15. 2020-12-02 22:08:40 +01:00
Harald Kuhr
0d5577a9a4 #330 ImageReaderBase.getDestination now throws IIOException for too large dimension/size. 2020-11-17 23:07:09 +01:00
Harald Kuhr
16caec4a22 ...and fix the broken test. 2020-10-28 18:48:16 +01:00
Harald Kuhr
08282ea09d Minor improvements and better test cases. 2020-10-28 17:07:59 +01:00
Harald Kuhr
0a9e2df5de NetBPM clean-up, fixes and better tests. 2020-10-23 19:25:54 +02:00
Harald Kuhr
6c34fb211f ImageWriterAbstractTest refactorings. 2020-10-14 18:54:46 +02:00
Harald Kuhr
9fdbc3b1fc ImageReaderAbstractTest refactorings. 2020-10-14 17:06:35 +02:00
Harald Kuhr
622c6f40d4 Getting rid of more JUnit deprecation. 2020-10-13 19:29:58 +02:00
Harald Kuhr
107da17ca9 Dependabot broke my build... 2020-10-13 19:16:58 +02:00
Harald Kuhr
a7ebc1b52f Code clean-up. 2020-09-24 17:12:12 +02: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