Andreas Molzer
25fbd3f24a
Merge pull request #2348 from Shnatsel/rayon-passthrough
...
Pass through rayon feature to ravif
2024-10-17 18:47:05 +02:00
Andreas Molzer
0307a47de2
Merge pull request #2354 from image-rs/release-0.25.4
...
Propose wording for republishing as 0.25.4
2024-10-17 18:40:08 +02:00
Sergey "Shnatsel" Davidoff
d640382600
Require ravif 0.11.11 that has MSRV 1.70
2024-10-17 16:10:46 +01:00
Sergey "Shnatsel" Davidoff
c83259e613
Revert "Do not require such a recent ravif"
...
This reverts commit 8828ad41f2
.
2024-10-17 16:10:12 +01:00
Sergey "Shnatsel" Davidoff
5f91859b1b
Revert "Bump MSRV to 1.79 because bitstream-io, a transitive dependency of ravif, requires it"
...
This reverts commit 4d438c58ee
.
2024-10-17 16:10:11 +01:00
Sergey "Shnatsel" Davidoff
d2b0a15419
Revert "Bump MSRV in github actions as well"
...
This reverts commit 0a88f97510
.
2024-10-17 16:10:05 +01:00
Andreas Molzer
ac09ced4b3
Propose wording for republishing as 0.25.4
2024-10-16 22:37:17 +02:00
Andreas Molzer
5e6bf4fd3c
Merge pull request #2352 from image-rs/changelog-update
...
Drop incorrect changelog entry
2024-10-16 22:16:00 +02:00
Sergey "Shnatsel" Davidoff
42d1396eb4
Drop incorrect changelog entry
2024-10-16 19:10:12 +01:00
Andreas Molzer
d52a194e5c
Merge pull request #2347 from Shnatsel/new-release
...
Fill in changelog and bump version for 0.25.3
2024-10-16 19:34:35 +02:00
Sergey "Shnatsel" Davidoff
fe94eabb7f
Mention lossless WebP improvements
2024-10-16 17:32:17 +01:00
Sergey "Shnatsel" Davidoff
0a88f97510
Bump MSRV in github actions as well
2024-10-15 23:45:27 +01:00
Sergey "Shnatsel" Davidoff
4d438c58ee
Bump MSRV to 1.79 because bitstream-io, a transitive dependency of ravif, requires it
2024-10-15 23:40:18 +01:00
Sergey "Shnatsel" Davidoff
5976c19593
Merge pull request #2349 from Shnatsel/orientation-in-metadata
...
Move Orientation to metadata module
2024-10-15 23:32:52 +01:00
Sergey "Shnatsel" Davidoff
8828ad41f2
Do not require such a recent ravif
2024-10-15 23:32:29 +01:00
Sergey "Shnatsel" Davidoff
452ee50bf7
Bump MSRV to 1.70 following ravif
2024-10-15 23:28:44 +01:00
Sergey "Shnatsel" Davidoff
91a001f231
Don't import orientation in doc example
2024-10-15 23:27:03 +01:00
Sergey "Shnatsel" Davidoff
693079d514
Reword ravif changelog entry
2024-10-15 22:28:04 +01:00
Sergey "Shnatsel" Davidoff
fb5799bd8f
Move Orientation to metadata module
2024-10-15 22:24:09 +01:00
Sergey "Shnatsel" Davidoff
e9e24090bb
Pass through rayon feature to ravif
2024-10-15 22:15:39 +01:00
Sergey "Shnatsel" Davidoff
9badd0a4e7
Fill in changelog and bump version for 0.25.3
2024-10-15 19:08:04 +01:00
Sergey "Shnatsel" Davidoff
dd870982cf
Merge pull request #2346 from Shnatsel/orientation-doc-comment
...
Update apply_orientation doc comment to use `.orientation()`
2024-10-15 17:38:08 +01:00
Sergey "Shnatsel" Davidoff
e502e48a3f
Drop kamadak-exif as a dev-dependency
2024-10-15 17:15:17 +01:00
Sergey "Shnatsel" Davidoff
fee5d444c7
Change orientation doc comment to use .orientation() instead of manual parsing with kamadak-exif
2024-10-15 17:14:54 +01:00
Andreas Molzer
3b106064dd
Merge pull request #2342 from image-rs/issue-2340
...
Optimize sampling for empty images
2024-10-12 15:47:46 +02:00
Andreas Molzer
e62349b979
Address review, polish #2340 empty check
2024-10-12 15:26:11 +02:00
Vincent Prouillet
02a4928df9
Impl Hash for FilterType
2024-10-12 00:30:14 +01:00
Andreas Molzer
15b6e87c12
Optimize sampling for empty images
...
This is a tip of an iceberg of better sampling, but the most critical
case. Up-sampling in general may in the implementation allocate a larger
temporary buffer than its input. Of course this makes little semantic
sense here: after all, the actual information can not increase by this.
If one dimension increases while the other decreases the unfortunate
consequence is that callers may somewhat reasonably expect a small
buffer but internally will get a very large buffer. The approach of
swapping sampling orders accordingly (first down, then up) might address
the memory issue but is lossy.
So instead let's fix the most pressing issue: if no information was
present in the input, nothing can be lost and we can pretend to perform
everything by a very small intermediate image.
2024-10-11 22:20:45 +02:00
Andreas Molzer
d4a0d26d4a
Merge pull request #2302 from torfmaster/feature/fast-blur
...
Fast Blur
2024-10-11 21:05:15 +02:00
Michael
a373218826
make set_icc_profile function available ( #2322 )
2024-10-07 10:07:59 -07:00
Jonathan Behrens
8ecc99c633
Upgrade image-webp ( #2339 )
2024-10-06 14:00:22 -07:00
Jonathan Behrens
58922fb748
Add ImageDecoder::orientation method ( #2328 )
2024-10-06 12:02:36 -07:00
Jonathan Behrens
1bf7543c17
Clippy fixes ( #2338 )
2024-10-05 12:39:15 -07:00
Jonathan Behrens
236e07c74f
Update WebPDecoder doc comments ( #2335 )
2024-10-02 08:26:56 -07:00
Jamy
9489d7167f
Fix cargo deny warnings and errors ( #2332 )
2024-09-23 12:56:40 -07:00
Yuta Hinokuma
40940d2a33
Fixed the problem of Animated PNGs being decoded incorrectly ( #2327 )
2024-09-15 14:29:41 -07:00
Sergey "Shnatsel" Davidoff
2f7eb0ba79
Add Exif orientation example in a doc comment ( #2326 )
2024-09-14 11:30:33 -07:00
Sergey "Shnatsel" Davidoff
98ceb7197f
Merge pull request #2299 from Shnatsel/exif-rotation
...
Add a function to apply Exif rotation
2024-09-13 07:20:14 +01:00
Sergey "Shnatsel" Davidoff
6dad395b28
Link from Orientation struct to the function that applies it
2024-09-13 07:05:48 +01:00
Sergey "Shnatsel" Davidoff
c461e99b5c
Fix doclinks
2024-09-13 07:04:21 +01:00
Sergey "Shnatsel" Davidoff
005844dd86
Rename the module with Orientation
struct to metadata
2024-09-13 06:56:20 +01:00
Sergey "Shnatsel" Davidoff
9c0d517dab
Add a function to convert from Orientation to Exif values
2024-09-13 06:49:56 +01:00
Sergey "Shnatsel" Davidoff
b4cb2d6e09
Fix erroneous exif conversion for value 7
2024-09-13 06:48:17 +01:00
Sergey "Shnatsel" Davidoff
6f41f720ba
Merge pull request #2301 from doc-E-brown/fix-broken-link
...
Fix broken ImageReader link
2024-09-12 10:42:35 +01:00
Sergey "Shnatsel" Davidoff
25bd5ebaf8
Fix incorrect doc comment
2024-09-12 10:41:13 +01:00
Sergey "Shnatsel" Davidoff
9d1a694917
Make apply_orientation infallible now that it accepts an enum
2024-09-09 05:50:28 +01:00
Sergey "Shnatsel" Davidoff
644b68e15b
Merge branch 'image-rs:main' into exif-rotation
2024-09-09 05:36:40 +01:00
Sergey "Shnatsel" Davidoff
873c410b24
Link to Clippy lint issue instead of just handwaving
2024-09-09 03:43:49 +01:00
Sergey "Shnatsel" Davidoff
c3cec8cc1f
Suppress Clippy false positive
2024-09-09 03:42:09 +01:00
Sergey "Shnatsel" Davidoff
fad5aaaff5
Document apply_orientation as an alternative to non-in-place functions
2024-09-09 03:28:32 +01:00