Harald Kuhr
10183ef830
New class for simpler sequence write support.
2026-03-13 14:46:19 +01:00
Harald Kuhr
263fb75d1d
DDS cleanup ( #1262 )
...
* Refactorings and code clean-up
* Major rework/standardization:
* DDSEncoderType, DX10DXGIFormat merged with DDSType for a single way to describe a DDS format
* Added constants for DXGI formats
* DDSImageWriteParam is now mutable and supports standard way of setting compression type
* DDSImageMetadata now supports more of the format
Performance:
* DDSReader now use seek() to jump to correct mipmap instead of reading all bytes
* DDSImageWriter now uses getTile(0, 0) instead of getData() for better performance
* Fix JavaDoc 🎉
* Sonar issues + roll back accidental check-in
* More clean-up: Removed optional flags from param, header size validation, metadata now reports compresion as lossy
* More clean-up: Now keeps stream byte order consistent (LE), support for Raster, more tests
* Mipmap support using ImageIO sequence API
* Added raster write test
+ fixed a small issue for PAM
* Sonar issues
2026-03-11 21:09:26 +01:00
Harald Kuhr
84c10ed96d
Fully support period == 1 (no subsampling) in subsampleRow even if different arrays
2024-09-26 10:31:27 +02:00
Harald Kuhr
9e989680c6
Made SubImageOutputStream class final + fixed doc
2024-08-06 15:40:51 +02:00
Harald Kuhr
3e7ad05973
#948 : TIFF 64 bit FP support
2024-05-28 20:18:54 +02:00
Harald Kuhr
80229b8c3c
Minor code clean-up.
2023-10-05 20:27:18 +02:00
Harald Kuhr
4513b0c166
Better support for ImageTypeSpecifiers with IndexColorModel.
2023-09-22 11:52:11 +02:00
Harald Kuhr
8f5c1b409f
#712 Core: Fix possible OOM situation in new stream implementation
2022-11-21 16:15:21 +01:00
Harald Kuhr
da800be8c8
#713 PSD: Broken uncompressed reading from stream w/unknown length
2022-11-10 16:11:45 +01:00
Harald Kuhr
c7b9b1fadd
Code clean-up.
2022-10-19 20:45:41 +02:00
Harald Kuhr
ab08ec1e0d
#705 No longer closes streams we didn't open
2022-10-18 20:25:31 +02:00
Harald Kuhr
6f9b9bee01
#687 #691 Stream performance regressions
2022-10-14 18:00:43 +02:00
Harald Kuhr
b9b1a35408
Replaced Map.Entry with StandardImageMetadataSupport.TextEntry
2022-10-10 14:15:57 +02:00
Harald Kuhr
7ed5663633
More tests of StandardImageMetadataSupport + minor API changes
2022-10-08 14:28:10 +02:00
Harald Kuhr
6458fcdcbd
Major ImageMetadata refactor for more consistent standard metadata support.
...
Fixes a few related bugs as a bonus.
2022-10-08 13:43:26 +02:00
Harald Kuhr
9375bfda9a
#703 : Workaround for 32 bit issue in ImageTypeSpecifier
2022-10-06 16:00:43 +02:00
Harald Kuhr
190fe87ee9
DiscreteAlphaIndexColorModel num components fix
2022-08-19 16:38:45 +02:00
Harald Kuhr
0cb99feedf
A new ImageInputStream adapter for InputStream.
2022-06-01 22:00:37 +02:00
Harald Kuhr
6ddb799a95
Fix bad format in validator message.
2022-05-29 14:55:17 +02:00
Harald Kuhr
f50178bc78
Alternative fix for #650 : Allow usage in OSGi environment.
2021-12-23 11:02:27 +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
Harald Kuhr
105a1ee466
#621 Don't add ICC profile for default gray images
2021-08-31 22:16:08 +02:00
Harald Kuhr
976e5d6210
#619 : Fix WebP Y'CbCr->RGB conversion (now uses rec 601)
2021-08-26 16:47:51 +02:00
Harald Kuhr
20c7f8e60e
#483 Add license headers.
2021-05-06 00:08:27 +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
51bdd370da
Fix some JavaDoc issues that broke the release build...
2021-04-24 12:05:49 +02:00
Harald Kuhr
967f8e6984
PICT metadata + PNTG support
2021-03-27 14:39:59 +01:00
Harald Kuhr
bb650e5280
Easier subsampling with xSub == 1 as no-op
2021-03-27 14:37:33 +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
3e3acf3332
More standard key mapping, more correct fit size. Nicer color!
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
6f6e65be12
Added zoom to fit option.
2021-01-11 21:18:11 +01:00
Harald Kuhr
73044bea58
#292 Now builds on Java 8, 11 and 15.
2020-12-02 22:08:40 +01:00
Harald Kuhr
c7d2f422b8
BufferedImageInputStream performance optimizations.
2020-11-30 17:54:21 +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
08282ea09d
Minor improvements and better test cases.
2020-10-28 17:07:59 +01:00
Harald Kuhr
97e788883a
More standard way for getting vendor name and version info.
2020-10-28 17:07:59 +01:00
Harald Kuhr
623d13a517
Better PFM support.
2020-09-25 19:35:55 +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
9e23413456
Fixed JavaDoc errors to enable Java 8 build.
2019-08-10 00:41:36 +02:00
Harald Kuhr
9ce1a86cae
#398 : Better exception message when BufferedImage size > Integer.MAX
2019-08-09 19:52:07 +02:00
Harald Kuhr
64178bd636
#474 : Fix java.awt.color.CMMException: Can not access specified profile
2019-08-08 23:33:08 +02:00
Harald Kuhr
3e4b14f984
#473 : Fix for ColorMap (Indexed) TIFF with non-alpha ExtraSamples.
2019-02-12 20:34:31 +01:00
Harald Kuhr
b86bad2bf9
Equals method for DiscreteAlphaIndexColorModel, needed for Java 10.
2018-10-11 22:36:41 +02:00
Harald Kuhr
d8d0131806
#437 Catching exception from static init, prints a warning and moves on.
2018-08-30 15:02:04 +02:00