- [Changed] Updated progress bar.
- [Changed] Now rimage uses rayon crate for parallel optimizations
- [Added]
--quiet
flag that disables progress bar
- [Breaking Changes]
Decoder
now is builder forGenericDecoder
that capable to decode byte slices and files - [Breaking Changes]
Config
now uses builder pattern - [Changed]
OutputFormat
is renamed toCodec
- [Changed] Errors now is more declarative
- [Removed]
decoders
andencoders
- [Added]
optimize
andoptimize_from_memory
functions - [Added]
ImageFormat
for memory decoding - [Bugfix] Fixed jpeg decoding
- [Bugfix] Fixed extensions written in uppercase, now they are all normalized to lowercase
- [Breaking Changes] Decoder now accept opened file as input
- [Changed] ImageData now stores bytes as Box<[u8]>
- [Changed] Global allocator now is Jemalloc on unix and MiMalloc on Windows
- [Changed] Reduced peak heap usage twice!
- [Changed] Now output format option is named just format
- [Added] AVIF decoding and encoding
- [Added] Output dir option for saving in different locations
- [Added] WebP decoding and encoding
- [Bugfix] Fixed typo in logs
- [Added] Logging of errors and info
- [Changed]
eprintln!
nowerror!
- [Added] Image Resize
- [Added] Resize error to EncodingError
- [Added] Width and Height arguments to CLI
- [Added] Resize filter type argument to CLI
- [Changed]
Config::build
now require 5 arguments
- [Added] Image quantization
- [Added] Quantization error to EncodingError
- [Added] data_mut function to ImageData
- [Added] Encode quantized function
- [Added] Quantization argument to CLI
- [Added] Dithering argument to CLI
- [Added] Parallelism
- [Added] Thread number to use option (Default: number of cpus)
- [Changed] Strings in errors replaced with SimpleError
- [Changed] Readme updated
- [Changed] Updated regex to 1.7.3
-
[Added] struct
ImageData
for storing images data -
[Added] struct
Decoder
to decode images -
[Added] struct
Encoder
to encode images -
[Added] structs for errors in
rimage::errors
-
[Added] image processing from stdio
-
[Added] info option
-
[Added] suffix option
-
[Changed]
decoders::decode_image
andencoders::encode_image
now deprecated, useDecoder
andEncoder
structs instead -
[Improvement] Added documentation to almost all functions and structs with examples
-
[Improvement] Added support for png as output (not oxipng)
- [Bugfix] Fixed long processing of png images
- [Added] Added pretty progress bar
- [Bugfix] Fixed hardcoded format output
- [Improvement] Added support for RGBA images