292 Commits
Author SHA1 Message Date
Kirill Kuzminykh 7c90712891 - Added checking images size for equal to zero in MulDiv 2024-05-02 22:15:12 +03:00
Kirill Kuzminykh 2bc54792f2 - Added Gaussian filter for convolution algorithm.
- Added field `algorithm` into `ResizeOptions`.
- Argument `resize_alg` was removed from `Resizer::new()` method, use `options` argument of methods to resize instead.
2024-05-02 21:41:41 +03:00
Kirill Kuzminykh 8af42a2cf7 - Added ImageRef structure.
- Added example of code with differences between v3.x and v4.x.
2024-04-24 00:37:39 +03:00
Kirill Kuzminykh f6bf9bbaad Added Gaussian filter for convolution algorythm. 2024-04-21 21:50:39 +03:00
Kirill Kuzminykh 10ae414752 Optimized Neon implementation. 2024-04-19 18:14:29 +03:00
Kirill Kuzminykh d31c9b7a49 Updated results of Aarch64 benchmarks. 2024-04-19 08:15:00 +03:00
Kirill Kuzminykh 4651d524bd Updated environment parameters for benchmarks reports. 2024-04-19 01:02:52 +03:00
Kirill Kuzminykh 967bc4159a Fixed Neon implementation. 2024-04-19 00:58:50 +03:00
Kirill Kuzminykh 9d56153b2f Fixed Neon implementations. 2024-04-18 20:28:40 +00:00
Kirill Kuzminykh 39f942f4c5 Adapted code for aarch64 + Neon architecture to support ImageView and ImageViewMut traits. 2024-04-18 18:53:01 +03:00
Kirill Kuzminykh 9b9766f146 Fixed dividing image by alpha channel. 2024-04-18 00:45:49 +03:00
Kirill Kuzminykh 4086b46d0b Fixed code for Wasm32 2024-04-18 00:41:39 +03:00
Kirill Kuzminykh d90d235fb2 A lot of changes to replace ImageView and ImageViewMut structures on traits with the same names. 2024-04-10 23:38:46 +03:00
Kirill Kuzminykh 849d1f1601 chore: Release v3.0.4 2024-02-15 21:16:37 +03:00
Kirill Kuzminykh e73d5fcfb0 Fixed error with incorrect cropping of source image. 2024-02-15 21:04:55 +03:00
Kirill Kuzminykh 8223af2564 Fixed error with incorrect cropping of source image. 2024-02-15 21:04:44 +03:00
Kirill Kuzminykh 7a1e22392c chore: Release v3.0.3 2024-02-08 00:19:04 +03:00
Kirill Kuzminykh 050df332e4 Fixed version of num-traits in the Cargo.toml. 2024-02-08 00:13:28 +03:00
Kirill Kuzminykh 9ca7928e7a chore: Release v3.0.2 2024-02-07 21:23:24 +03:00
Kirill Kuzminykh 3ee194273a Fixed type of func argument of Filter::new() method. 2024-02-07 21:18:13 +03:00
Kirill Kuzminykh c9167d61a4 Fixed mistakes in texts. 2024-02-05 22:55:02 +03:00
Kirill Kuzminykh 8c0950db5f Removed version 3.0.0 from CHANGELOG.md 2024-02-05 12:32:16 +03:00
Kirill Kuzminykh f5f0f9b19a chore: Release v3.0.1 2024-02-05 01:29:06 +03:00
Kirill Kuzminykh 49c6516525 Updated version of actions/checkout action for GitHub Actions. 2024-02-05 01:27:00 +03:00
Kirill Kuzminykh ed70607f2b **BREAKING**: Added a new variant of enum CropBoxError::WidthOrHeightLessOrEqualToZero. 2024-02-05 01:22:02 +03:00
Kirill Kuzminykh 25ea0da382 Disabled using libvips under Windows. 2024-02-05 00:14:56 +03:00
Kirill Kuzminykh 31bdc0ecd8 chore: Release v3.0.0 2024-02-04 23:25:29 +03:00
Kirill Kuzminykh b5127dc29c Prepare to release. 2024-02-04 23:22:40 +03:00
Kirill Kuzminykh 19d526af74 - **BREAKING**: The type of the CropBox fields has been changed to f64. Now you can use
fractional size and position of crop box.
- **BREAKING**: The type of `centering` argument of `ImageView::set_crop_box_to_fit_dst_size()`
  and `DynamicImageView::set_crop_box_to_fit_dst_size()` methods has been changed to `Optional<(f64, f64)>`.
- **BREAKING**: The `crop_box` argument of `ImageViewMut::crop()` and `DynamicImageViewMut::crop()`
  methods has been replaced with separate `left`, `top`, `width` and `height` arguments.
2024-02-04 22:51:35 +03:00
Kirill Kuzminykh 6654b8ae61 Added example of creating custom filter type. 2024-01-09 22:41:00 +03:00
Kirill Kuzminykh e97b1d1efc Updated results of benchmarks for arm64 architecture. 2024-01-09 01:16:14 +03:00
Kirill Kuzminykh ff5b72c239 - Fixed code to write benchmark results for Wasm32.
- Updated results of benchmarks for Wasm32 architecture.
2024-01-08 22:27:23 +03:00
Kirill Kuzminykh b963d61d2d Updated results of benchmarks for x64_86 architecture. 2023-12-30 14:54:24 +03:00
Kirill Kuzminykh f6d843891d Added Custom variant for FilterType enum and corresponding Filter structure. 2023-12-30 13:55:41 +03:00
Kirill Kuzminykh 1b6f61a48f Fixed U8x4 initialisation inside modules for ARM Neon. 2023-12-17 23:22:16 +03:00
Kirill Kuzminykh 461d2f9cb3 Added new testing images. 2023-12-17 22:02:59 +03:00
Kirill Kuzminykh c195c4ff43 - Significantly improved (4.5 times on x86_64) speed of vertical convolution pass implemented
in native Rust for `U8`, `U8x2`, `U8x3` and `U8x4` images.
- Changed order of convolution passes for `U8`, `U8x2`, `U8x3` and `U8x4` images.
  Now the vertical pass is the first and the horizontal pass is the second.
- **BREAKING**: Changed internal data type for `U8x4` structure. Not it is `[u8; 4]` instead of `u32`.
2023-12-14 22:45:26 +03:00
Kirill Kuzminykh 63369009ec Updated results of benchmarks for x64_86 architecture. 2023-12-06 08:54:33 +03:00
Kirill Kuzminykh 8863d1b942 Restored LTO option in Cargo.toml 2023-12-06 01:04:00 +03:00
Kirill Kuzminykh bb6ffbedfc Slightly improved (about 3%) speed of AVX2 implementation of Convolution trait for U8x3 and U8x4 images. 2023-12-06 01:03:17 +03:00
Kirill Kuzminykh 63f6b517ab Added feature only_u8x4 that can be used to experiment with the crate's code. 2023-12-05 21:55:45 +03:00
Kirill Kuzminykh cd7832850d Updated results of benchmarks for wasm32 architecture. 2023-11-29 21:56:04 +03:00
Kirill Kuzminykh 09b5f98818 Updated results of benchmarks for arm64 architecture. 2023-11-24 21:58:51 +03:00
Kirill Kuzminykh dd773e2ca9 Fixed README.md 2023-11-23 21:16:24 +03:00
Kirill Kuzminykh 4ab1f7a76a Removed trash from README.md 2023-11-23 21:13:15 +03:00
Kirill Kuzminykh 95dd9bc59b - Updated results of benchmarks for x64_86 architecture.
- Fixed several errors in the documentation.
2023-11-23 21:11:47 +03:00
Kirill Kuzminykh 2ad679e044 - Added benchmarks for libvips.
- Added Tera templates to build benchmark reports.
2023-11-11 14:50:09 +03:00
Kirill Kuzminykh 24edd65eef chore: Release v2.7.3 2023-05-07 22:47:38 +03:00
Kirill Kuzminykh 335aa1508a Fixed size of rows in cropped ImageViewMut created by ImageViewMut::crop method (#17). 2023-05-07 22:45:28 +03:00
Kirill Kuzminykh a74fa33161 chore: Release v2.7.2 2023-05-05 00:40:00 +03:00