372 Commits
Author SHA1 Message Date
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
Kirill Kuzminykh d93a68440e Prepare to release. 2023-05-05 00:39:46 +03:00
Kirill Kuzminykh 53a5ba79da Prepare to release. 2023-05-05 00:07:44 +03:00
Kirill Kuzminykh 8ff91df590 Added using of (read|write)_unaligned for unaligned pointers on arm64 and wasm32 architecture (#15). 2023-05-04 23:42:48 +03:00
Kirill Kuzminykh 07778909a7 Added using of (read|write)_unaligned for unaligned pointers on arm64 architecture. 2023-05-03 15:16:52 +03:00
Kirill Kuzminykh 351c749974 chore: Release v2.7.1 2023-04-28 23:41:08 +03:00
Kirill Kuzminykh 21bc0c4bf1 Updated benchmark results for wasm32. 2023-04-28 23:34:12 +03:00
Kirill Kuzminykh 15e509be37 Updated benchmark results for x86_64 and arm64. 2023-04-28 00:20:09 +03:00
Kirill Kuzminykh 539b8dd400 Updated dependencies. 2023-04-27 01:09:06 +03:00
Kirill Kuzminykh bc1b61abbe Added description of latest changes into CHANGELOG.md 2023-04-27 00:53:41 +03:00
Kirill Kuzminykh 8548ee562b Merge pull request #16 from durin42/push-742f2c761e874ca9aaa7ca80c23ff6d3
Use (read|write)_unaligned for unaligned pointers (#15)
2023-04-07 14:19:55 +04:00
Augie Fackler f2640c3dc3 cleanup: use (read|write)_unaligned for unaligned pointers
This was caught by a recent change to Rust (22a7a19f9333bc1fcba97ce444a3515cb5fb33e6)
which proactively detects dereferences of unaligned pointers. Switching from a
dereference to the unaligned read and write methods fixes all the tests on today's nightly.

Fixes #15.
2023-04-06 13:23:40 -04:00
Kirill Kuzminykh 8fc4400ea7 Fixed CHANGELOG.md 2023-03-25 00:18:12 +03:00
Kirill Kuzminykh 7cdf7a8bd5 chore: Release v2.7.0 2023-03-24 23:55:54 +03:00
Kirill Kuzminykh fd071fd0cc - Added method DynamicImageViewMut::crop() to create cropped version of ImageViewMut.
- Added method `ImageViewMut::crop()` to create cropped version of `ImageViewMut`.
2023-03-24 23:40:25 +03:00
Kirill Kuzminykh a3692f11b6 chore: Release v2.6.0 2023-03-01 23:46:41 +03:00
Kirill Kuzminykh 5ddcf378ba Updated results of benchmark. 2023-03-01 23:23:37 +03:00
Kirill Kuzminykh eaf819c643 Merge branch 'main' into dev 2023-02-28 00:16:58 +03:00
Kirill Kuzminykh 0a47adc013 Revert few changes 2023-02-28 00:16:35 +03:00
Kirill Kuzminykh 1dd629eb81 Revert few changes 2023-02-28 00:16:07 +03:00
Kirill Kuzminykh 462b635f7e Merge pull request #14 from seddonm1/pub_buffer_mut
Make `Image::buffer_mut()` public
2023-02-22 10:50:58 +03:00