2.1
Version Notes: 2.1
Features and Changes
Enhanced Configurability:
Users can now modify configuration parameters dynamically during the compression and scaling process, offering more flexibility.
Improved Logging:
Enhanced log messages for better visibility during file size reduction processes.
SizeException Handling:
Introducing a custom SizeException to provide more specific information when the file size exceeds the specified limits after compression.
Dynamic Configuration Updates:
Configuration parameters such as sizeLimitBytes, compressPriority, lowerWidthLimit, lowerHeightLimit, compressionQualityDownTo, and scaleDownFactor can be modified after the object is instantiated.
Exception Handling
SizeException:
Thrown when the file size remains above the specified limits after the compression and scaling processes.
Improved Logging:
Log messages are more informative and detailed, aiding in debugging and understanding the library's behavior.