A Java JAR for creating thumbnails and/or scaled versions of bitmap images (PNG, JPEG) and PDF documents. The concrete solutions is wrapped behind an interface. For bitmap images the implementation is based on plain Java2D. See java2/ProviderJava2D.java.
<dependency>
<groupId>com.giraone.imaging</groupId>
<artifactId>imaging-kit</artifactId>
<version>1.3.0</version>
</dependency>
- There are a few test images within
src/test/resources
.
- ProviderBitmapImageTest.java - Simple functional tests for bitmap images
- ProviderPdfTest.java - Simple functional tests for PDF documents
- JpegScalePerformanceTest.java - A basic performance comparison on the two implementations for bitmap images
- V1.3.0 (2024-12-28)
- Upgrade to a JDK 17 build source and target
- Upgrade to latest dependencies (e.g. PDFBox 3.0.3)
- The seconds implementation based on [IMGSCALR](https://github.com/rkalla/imgscalr](https://github.com/rkalla/imgscalr) was removed.
- The parameter
ConversionCommand.SpeedHint speedHint
was removed - The interface supports now
java.nio.file.Path
besidesjava.io.File
- V1.2.0 (2022-10-31)
- Upgrade to latest dependencies
- V1.1.0 (2021-12-19)
- Dependencies on log4j2 removed and replaced by slf4j
- Upgrade to latest dependencies
- V1.0.3 (2020-12-18)
- Upgrade to latest dependencies
- Sonar and JavaDoc issues fixed
- V1.0.2 (2019-10-07)
- Upgrade to latest dependencies
- Fixed unclosed PDDocument in countPages and getDocumentInformation of PdfProviderPdfBox
- Old TIFF decoder removed
- More tests added
- V1.0.1 (2019-08-28)
- Refactoring / Sonar-Issue fixed