Maven Central artifacts
Note
As usual, find the command-line xbrz-tool.jar along with the xbrz.cmd (Windows batch) and xbrz.sh (Linux shell) really executable jar variants attached here.
Highlights
- Important thread-safety fix (a0bf929)
- Few speculative performance optimizations (a652a83, b9bc973)
- A new
XbrzFilterfor the Image Producer/Consumer paradigm - A new
ColorDistance.integerYCbCr()providing better performance than (the default)ColorDistance.yCbCr(). While the performance is not better thanColorDistance.bufferedYCbCr(), it comes at no additional memory cost and possibly providing better quality compared to lower resolution buffer tables
Important
API breaking changes
These may or may not affect your current usage:
-
XbrzImage.mrImage(Image)is now declared to return an intersection type<M extends Image & MultiResolutionImage>vs. previouslyAbstractMultiResolutionImage(c9b1e86) -
MultiResolutionCachedImageconstructor no longer acceptsvariantProducerfunction. The class is now abstract and declares an abstractcreateResolutionVariant(width, height) : Image(bead258)If you haven't subclassed this one but used just the static factory
MultiResolutionCachedImage.of(width, height, variantProducer), you shouldn't need any adjustments.
Full changelog: 1.8.1...1.8.2